コード例 #1
0
        void PreUpdate()
        {
            InputHelper.PreUpdate();
            FramePhase = FramePhase.Pre;

            CodeHelperUnity.invokeBeforeFrame.InvokeAll();

            //EVERYTHING THAT'S NOT INTERNAL SHOULD BE AFTER THIS LINE

            UnityPreUpdateMethods?.Invoke();

            OnUnityPreUpdateMethods?.Invoke();
            OnUnityPreUpdateMethods = null;
        }
コード例 #2
0
        void PreUpdate()
        {
            InputHelper.inputInfoFromKey.ForEach(thisPair => thisPair.Value.UpdateInfo());

            FramePhase = FramePhase.pre;

            CodeHelper.invokeBeforeFrame.InvokeAll();

            //EVERTHING THATS NOT INTERNAL SHOULD BE AFTER THIS LINE

            UnityPreUpdateMethods?.Invoke();

            OnUnityPreUpdateMethods?.Invoke();
            OnUnityPreUpdateMethods = null;
        }