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.AudioEchoFilter(); return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static int _g_get_dryMix(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.AudioEchoFilter gen_to_be_invoked = (UnityEngine.AudioEchoFilter)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushnumber(L, gen_to_be_invoked.dryMix); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_wetMix(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.AudioEchoFilter gen_to_be_invoked = (UnityEngine.AudioEchoFilter)translator.FastGetCSObj(L, 1); gen_to_be_invoked.wetMix = (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_decayRatio(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UnityEngine.AudioEchoFilter __cl_gen_to_be_invoked = (UnityEngine.AudioEchoFilter)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.decayRatio = (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.AudioEchoFilter o = (UnityEngine.AudioEchoFilter)obj; delay = o.delay; decayRatio = o.decayRatio; dryMix = o.dryMix; wetMix = o.wetMix; }
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.AudioEchoFilter o = (UnityEngine.AudioEchoFilter)obj; o.delay = delay; o.decayRatio = decayRatio; o.dryMix = dryMix; o.wetMix = wetMix; return(o); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { UnityEngine.AudioEchoFilter gen_ret = new UnityEngine.AudioEchoFilter(); 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.AudioEchoFilter constructor!")); }