public System.Action <UnityEngine.Object[]> System_Action_UnityEngine_Objects(LuaFunction func, LuaTable self, bool flag) { if (func == null) { System.Action <UnityEngine.Object[]> fn = delegate(UnityEngine.Object[] param0) { }; return(fn); } if (!flag) { System_Action_UnityEngine_Objects_Event target = new System_Action_UnityEngine_Objects_Event(func); System.Action <UnityEngine.Object[]> d = target.Call; target.method = d.Method; return(d); } else { System_Action_UnityEngine_Objects_Event target = new System_Action_UnityEngine_Objects_Event(func, self); System.Action <UnityEngine.Object[]> d = target.CallWithSelf; target.method = d.Method; return(d); } }
public static Delegate System_Action_UnityEngine_Objects(LuaFunction func, LuaTable self, bool flag) { if (func == null) { System.Action<UnityEngine.Object[]> fn = delegate(UnityEngine.Object[] param0) { }; return fn; } if(!flag) { System_Action_UnityEngine_Objects_Event target = new System_Action_UnityEngine_Objects_Event(func); System.Action<UnityEngine.Object[]> d = target.Call; target.method = d.Method; return d; } else { System_Action_UnityEngine_Objects_Event target = new System_Action_UnityEngine_Objects_Event(func, self); System.Action<UnityEngine.Object[]> d = target.CallWithSelf; target.method = d.Method; return d; } }