trouble-in-terror-town/Assets/Mirror/Examples/Room/Scripts/NetworkRoomPlayerExt.cs
2022-02-09 21:05:18 +01:00

30 lines
904 B
C#

using UnityEngine;
namespace Mirror.Examples.NetworkRoom
{
[AddComponentMenu("")]
public class NetworkRoomPlayerExt : NetworkRoomPlayer
{
public override void OnStartClient()
{
// Debug.LogFormat(LogType.Log, "OnStartClient {0}", SceneManager.GetActiveScene().path);
base.OnStartClient();
}
public override void OnClientEnterRoom()
{
// Debug.LogFormat(LogType.Log, "OnClientEnterRoom {0}", SceneManager.GetActiveScene().path);
}
public override void OnClientExitRoom()
{
// Debug.LogFormat(LogType.Log, "OnClientExitRoom {0}", SceneManager.GetActiveScene().path);
}
public override void ReadyStateChanged(bool oldReadyState, bool newReadyState)
{
// Debug.LogFormat(LogType.Log, "ReadyStateChanged {0}", newReadyState);
}
}
}