Browse Source

Added PlayerPrefs to LuaUtils

master
Chris Gregan 9 years ago
parent
commit
4f9b751b09
  1. 1
      Assets/Fungus/Thirdparty/FungusLua/Resources/Types/UnityTypes.txt
  2. 1
      Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaUtils.cs

1
Assets/Fungus/Thirdparty/FungusLua/Resources/Types/UnityTypes.txt vendored

@ -29,6 +29,7 @@
"UnityEngine.Matrix4x4, UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
"UnityEngine.MonoBehaviour, UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
"UnityEngine.Object, UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
"UnityEngine.PlayerPrefs, UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
"UnityEngine.PrimitiveType, UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
"UnityEngine.Quaternion, UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
"UnityEngine.Rect, UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",

1
Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaUtils.cs vendored

@ -209,6 +209,7 @@ namespace Fungus
// Static classes
fungusTable["time"] = UserData.CreateStatic(typeof(Time));
fungusTable["playerprefs"] = UserData.CreateStatic(typeof(PlayerPrefs));
fungusTable["prefs"] = UserData.CreateStatic(typeof(FungusPrefs));
fungusTable["factory"] = UserData.CreateStatic(typeof(PODTypeFactory));

Loading…
Cancel
Save