fix: fixed warnings

This commit is contained in:
MrGadget1024 2021-12-28 15:56:18 -05:00
parent 473b9f1760
commit 502d0913d4
2 changed files with 1 additions and 2 deletions

View File

@ -30,7 +30,6 @@ public override void OnStopClient()
{
if (isLocalPlayer && mainCam != null)
{
Debug.LogWarning("PlayerCamera:OnStopClient");
mainCam.transform.SetParent(null);
SceneManager.MoveGameObjectToScene(mainCam.gameObject, SceneManager.GetActiveScene());
mainCam.orthographic = true;

View File

@ -188,7 +188,7 @@ public virtual void Awake()
// Don't allow collision-destroyed second instance to continue.
if (!InitializeSingleton()) return;
Debug.LogWarning("Mirror | mirror-networking.com | discord.gg/N9QVxbM");
Debug.Log("Mirror | mirror-networking.com | discord.gg/N9QVxbM");
// Set the networkSceneName to prevent a scene reload
// if client connection to server fails.