mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix: fixed warnings
This commit is contained in:
parent
473b9f1760
commit
502d0913d4
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user