static int QPYX_get_loadType_YXQP(IntPtr L_YXQP) { object QPYX_o_YXQP = null; try { QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1); UnityEngine.AudioClip QPYX_obj_YXQP = (UnityEngine.AudioClip)QPYX_o_YXQP; UnityEngine.AudioClipLoadType QPYX_ret_YXQP = QPYX_obj_YXQP.loadType; ToLua.Push(L_YXQP, QPYX_ret_YXQP); return(1); } catch (Exception QPYX_e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index loadType on a nil value")); } }
static int get_loadType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.AudioClip obj = (UnityEngine.AudioClip)o; UnityEngine.AudioClipLoadType ret = obj.loadType; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index loadType on a nil value" : e.Message)); } }
static int get_loadType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.AudioClip obj = (UnityEngine.AudioClip)o; UnityEngine.AudioClipLoadType ret = obj.loadType; LuaDLL.lua_pushinteger(L, (int)ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index loadType on a nil value")); } }
static int get_loadType(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("UnityEngine.AudioClip.loadType"); #endif object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.AudioClip obj = (UnityEngine.AudioClip)o; UnityEngine.AudioClipLoadType ret = obj.loadType; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index loadType on a nil value")); } }