mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
parent
fe358f7120
commit
46c80bdc2e
@ -27,10 +27,10 @@ public class NetworkSceneChecker : NetworkBehaviour
|
||||
Scene currentScene;
|
||||
|
||||
[ServerCallback]
|
||||
void OnEnable()
|
||||
void Awake()
|
||||
{
|
||||
currentScene = gameObject.scene;
|
||||
if (LogFilter.Debug) Debug.Log($"NetworkSceneChecker.OnEnable currentScene: {currentScene}");
|
||||
if (LogFilter.Debug) Debug.Log($"NetworkSceneChecker.Awake currentScene: {currentScene}");
|
||||
}
|
||||
|
||||
public override void OnStartServer()
|
||||
|
Loading…
Reference in New Issue
Block a user