/// <summary> /// Called every frame update by the UnityEngine. /// </summary> void Update() { if (serverManager != null) { serverManager.InternalUpdate(); } if (clientManager != null) { clientManager.InternalUpdate(); } // Calls the Update method on all TinyNetPlayerControllers. if (serverManager != null) { serverManager.CallUpdateOnControllers(); } else if (clientManager != null) { clientManager.CallUpdateOnControllers(); } CheckForSceneLoad(); UpdateVirtual(); }
/// <summary> /// Called every frame update by the UnityEngine. /// </summary> void Update() { if (serverManager != null) { serverManager.InternalUpdate(); } if (clientManager != null) { clientManager.InternalUpdate(); } CheckForSceneLoad(); UpdateVirtual(); }