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;
|
Scene currentScene;
|
||||||
|
|
||||||
[ServerCallback]
|
[ServerCallback]
|
||||||
void OnEnable()
|
void Awake()
|
||||||
{
|
{
|
||||||
currentScene = gameObject.scene;
|
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()
|
public override void OnStartServer()
|
||||||
|
Loading…
Reference in New Issue
Block a user