Пример #1
0
        private void Update()
        {
            if (!TickEngineSettings.single.enableTickEngine)
            {
                return;
            }

            NetMasterCallbacks.OnPostUpdateCallbacks();
        }
Пример #2
0
        private void Update()
        {
            if (!TickEngineSettings.single.enableTickEngine)
            {
                return;
            }

            /// Disable Simple if no NetObjects exist.
            if (NetObject.activeControlledNetObjs.Count == 0 && NetObject.activeUncontrolledNetObjs.Count == 0)
            {
                return;
            }

            NetMasterCallbacks.OnPostUpdateCallbacks();
        }