Beispiel #1
0
 public override void OnClientChangeScene(string sceneNameOrPath, SceneOperation sceneOperation, bool customHandling)
 {
     if (customHandling)
     {
         clientChangeScene.Invoke(sceneNameOrPath, sceneOperation);
     }
     else
     {
         base.OnClientChangeScene(sceneNameOrPath, sceneOperation, customHandling);
     }
 }
Beispiel #2
0
 public void InvoceSceneChange(string sceneName, Vector3 characterPosition, float rotation)
 {
     sceneChangeEvent.Invoke(sceneName);
     resetCursorEvent.Invoke();
     moveObjectEvent.Invoke(characterPosition, rotation, sceneName);
 }