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.AudioChorusFilter(); return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static int _g_get_wetMix1(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.AudioChorusFilter gen_to_be_invoked = (UnityEngine.AudioChorusFilter)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushnumber(L, gen_to_be_invoked.wetMix1); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_depth(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.AudioChorusFilter gen_to_be_invoked = (UnityEngine.AudioChorusFilter)translator.FastGetCSObj(L, 1); gen_to_be_invoked.depth = (float)LuaAPI.lua_tonumber(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
public override void ReadFrom(object obj) { base.ReadFrom(obj); if (obj == null) { return; } UnityEngine.AudioChorusFilter o = (UnityEngine.AudioChorusFilter)obj; dryMix = o.dryMix; wetMix1 = o.wetMix1; wetMix2 = o.wetMix2; wetMix3 = o.wetMix3; delay = o.delay; rate = o.rate; depth = o.depth; }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { var gen_ret = new UnityEngine.AudioChorusFilter(); translator.Push(L, 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.AudioChorusFilter constructor!")); }
public override object WriteTo(object obj, System.Collections.Generic.Dictionary <long, UnityEngine.Object> objects) { obj = base.WriteTo(obj, objects); if (obj == null) { return(null); } UnityEngine.AudioChorusFilter o = (UnityEngine.AudioChorusFilter)obj; o.dryMix = dryMix; o.wetMix1 = wetMix1; o.wetMix2 = wetMix2; o.wetMix3 = wetMix3; o.delay = delay; o.rate = rate; o.depth = depth; return(o); }