static int getAngle(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 1); float o = LuaExtend.getAngle(arg0); LuaDLL.lua_pushnumber(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int _m_getAngle_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { UnityEngine.Vector3 dir; translator.Get(L, 1, out dir); float __cl_gen_ret = LuaExtend.getAngle(dir); LuaAPI.lua_pushnumber(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }