static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { ContentImmediate __cl_gen_ret = new ContentImmediate(); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to ContentImmediate constructor!")); }
static int _m_GetPreferredSize(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); ContentImmediate __cl_gen_to_be_invoked = (ContentImmediate)translator.FastGetCSObj(L, 1); try { { UnityEngine.Vector2 __cl_gen_ret = __cl_gen_to_be_invoked.GetPreferredSize( ); translator.PushUnityEngineVector2(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }