From 0064687978756a77c4f2466c2f5a05ae2d0ead4a Mon Sep 17 00:00:00 2001 From: Christopher Date: Wed, 21 Sep 2016 16:48:53 +0100 Subject: [PATCH] Fixed up remaining FungusLua pages. --- Docs/fungus_lua/{preferences.md => lua_preferences.md} | 6 ++++-- Docs/fungus_lua/{string_table.md => lua_string_table.md} | 0 Docs/fungus_lua/unity_test_tools.md | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) rename Docs/fungus_lua/{preferences.md => lua_preferences.md} (90%) rename Docs/fungus_lua/{string_table.md => lua_string_table.md} (100%) diff --git a/Docs/fungus_lua/preferences.md b/Docs/fungus_lua/lua_preferences.md similarity index 90% rename from Docs/fungus_lua/preferences.md rename to Docs/fungus_lua/lua_preferences.md index 13e04e21..8180cd08 100644 --- a/Docs/fungus_lua/preferences.md +++ b/Docs/fungus_lua/lua_preferences.md @@ -1,6 +1,6 @@ # PlayerPrefs {#lua_preferences} -The [Unity PlayerPrefs](http://docs.unity3d.com/ScriptReference/PlayerPrefs.html) system stores and accesses player preferences between game sessions. +The [Unity PlayerPrefs] system stores and accesses player preferences between game sessions. Here's an example of using PlayerPrefs from Lua. @@ -53,4 +53,6 @@ prefs.SetString(slot, key, value) -- Returns the combined key used to identify a key within a save slot. prefs.GetSlotKey(slot, key) -``` \ No newline at end of file +``` + +[Unity PlayerPrefs]: http://docs.unity3d.com/ScriptReference/PlayerPrefs.html \ No newline at end of file diff --git a/Docs/fungus_lua/string_table.md b/Docs/fungus_lua/lua_string_table.md similarity index 100% rename from Docs/fungus_lua/string_table.md rename to Docs/fungus_lua/lua_string_table.md diff --git a/Docs/fungus_lua/unity_test_tools.md b/Docs/fungus_lua/unity_test_tools.md index e8f18513..dacd870e 100644 --- a/Docs/fungus_lua/unity_test_tools.md +++ b/Docs/fungus_lua/unity_test_tools.md @@ -1,6 +1,6 @@ # Unity Test Tools {#lua_unity_test_tools} -If you are using the [Unity Test Tools](http://u3d.as/65h), FungusLua is a powerful and fast way to create integration tests using Lua scripting. +If you are using the [Unity Test Tools], FungusLua is a powerful and fast way to create integration tests using Lua scripting. # Example @@ -37,4 +37,5 @@ pass() fail(reason) ``` +[Unity Test Tools]: http://u3d.as/65h