diff --git a/Assets/Mirror/Examples/Basic/Scripts/Player.cs b/Assets/Mirror/Examples/Basic/Scripts/Player.cs index c095be4d1..b68b54154 100644 --- a/Assets/Mirror/Examples/Basic/Scripts/Player.cs +++ b/Assets/Mirror/Examples/Basic/Scripts/Player.cs @@ -176,6 +176,15 @@ public override void OnStopClient() Destroy(playerUIObject); } + void OnDestroy() + { + Debug.Log("isClient " + isClient); + Debug.Log("isLocalPlayer " + isLocalPlayer); + Debug.Log("isServer " + isServer); + Debug.Log("NetworkClient.active " + NetworkClient.active); + Debug.Log("NetworkServer.active " + NetworkServer.active); + } + #endregion } }