static int _CreateFramework_Util(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 0) { LuaFramework.Util obj = new LuaFramework.Util(); LuaScriptMgr.PushObject(L, obj); return(1); } else { LuaDLL.luaL_error(L, "invalid arguments to method: LuaFramework.Util.New"); } return(0); }
static int _CreateLuaFramework_Util(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 0) { LuaFramework.Util obj = new LuaFramework.Util(); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: LuaFramework.Util.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public static string GetString(string key) { string key2 = Util.GetKey(key); return(PlayerPrefs.GetString(key2)); }
public static void RemoveData(string key) { string key2 = Util.GetKey(key); PlayerPrefs.DeleteKey(key2); }
public static bool HasKey(string key) { string key2 = Util.GetKey(key); return(PlayerPrefs.HasKey(key2)); }
public static int GetInt(string key) { string key2 = Util.GetKey(key); return(PlayerPrefs.GetInt(key2)); }
public static GameObject Peer(GameObject go, string subnode) { return(Util.Peer(go.transform, subnode)); }
public static GameObject Child(GameObject go, string subnode) { return(Util.Child(go.transform, subnode)); }
public static T Add <T>(Transform go) where T : Component { return(Util.Add <T>(go.gameObject)); }