예제 #1
0
 public override void notifyAddComponent(global::GameComponent component)
 {
     if (mnotifyAddComponent_65.CheckShouldInvokeBase(this.instance))
     {
         base.notifyAddComponent(component);
     }
     else
     {
         mnotifyAddComponent_65.Invoke(this.instance, component);
     }
 }
        static StackObject *notifyOwnerDestroy_9(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            global::GameComponent instance_of_this_method = (global::GameComponent)typeof(global::GameComponent).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            __intp.Free(ptr_of_this_method);

            instance_of_this_method.notifyOwnerDestroy();

            return(__ret);
        }
        static StackObject *fixedUpdate_2(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Single @elapsedTime = *(float *)&ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            global::GameComponent instance_of_this_method = (global::GameComponent)typeof(global::GameComponent).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            __intp.Free(ptr_of_this_method);

            instance_of_this_method.fixedUpdate(@elapsedTime);

            return(__ret);
        }
        static StackObject *setIgnoreTimeScale_7(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Boolean @ignore = ptr_of_this_method->Value == 1;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            global::GameComponent instance_of_this_method = (global::GameComponent)typeof(global::GameComponent).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            __intp.Free(ptr_of_this_method);

            instance_of_this_method.setIgnoreTimeScale(@ignore);

            return(__ret);
        }