static StackObject *Ctor_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *__ret = ILIntepreter.Minus(__esp, 0); var result_of_this_method = new UnityEngine.ProceduralPropertyDescription(); return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static int _g_get_label(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UnityEngine.ProceduralPropertyDescription __cl_gen_to_be_invoked = (UnityEngine.ProceduralPropertyDescription)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.label); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_componentLabels(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UnityEngine.ProceduralPropertyDescription __cl_gen_to_be_invoked = (UnityEngine.ProceduralPropertyDescription)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.componentLabels = (string[])translator.GetObject(L, 2, typeof(string[])); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_step(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UnityEngine.ProceduralPropertyDescription __cl_gen_to_be_invoked = (UnityEngine.ProceduralPropertyDescription)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.step = (float)LuaAPI.lua_tonumber(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_type(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UnityEngine.ProceduralPropertyDescription __cl_gen_to_be_invoked = (UnityEngine.ProceduralPropertyDescription)translator.FastGetCSObj(L, 1); UnityEngine.ProceduralPropertyType __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.type = __cl_gen_value; } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { UnityEngine.ProceduralPropertyDescription __cl_gen_ret = new UnityEngine.ProceduralPropertyDescription(); 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 UnityEngine.ProceduralPropertyDescription constructor!")); }
static void set_group_2(ref object o, object v) { UnityEngine.ProceduralPropertyDescription _o = (UnityEngine.ProceduralPropertyDescription)o; _o.group = (System.String)v; }
static void set_label_1(ref object o, object v) { UnityEngine.ProceduralPropertyDescription _o = (UnityEngine.ProceduralPropertyDescription)o; _o.label = (System.String)v; }
static void set_name_0(ref object o, object v) { UnityEngine.ProceduralPropertyDescription _o = (UnityEngine.ProceduralPropertyDescription)o; _o.name = (System.String)v; }
static void set_componentLabels_9(ref object o, object v) { UnityEngine.ProceduralPropertyDescription _o = (UnityEngine.ProceduralPropertyDescription)o; _o.componentLabels = (System.String[])v; }
static void set_enumOptions_8(ref object o, object v) { UnityEngine.ProceduralPropertyDescription _o = (UnityEngine.ProceduralPropertyDescription)o; _o.enumOptions = (System.String[])v; }
static void set_step_7(ref object o, object v) { UnityEngine.ProceduralPropertyDescription _o = (UnityEngine.ProceduralPropertyDescription)o; _o.step = (System.Single)v; }
static void set_maximum_6(ref object o, object v) { UnityEngine.ProceduralPropertyDescription _o = (UnityEngine.ProceduralPropertyDescription)o; _o.maximum = (System.Single)v; }
static void set_hasRange_4(ref object o, object v) { UnityEngine.ProceduralPropertyDescription _o = (UnityEngine.ProceduralPropertyDescription)o; _o.hasRange = (System.Boolean)v; }
static void set_type_3(ref object o, object v) { UnityEngine.ProceduralPropertyDescription _o = (UnityEngine.ProceduralPropertyDescription)o; _o.type = (UnityEngine.ProceduralPropertyType)v; }