private SceneReference GetSceneReference(WorldScene wScene) { var world = GetElementAt(wScene.world); var worldScene = world?.GetScene(wScene.worldScene); return(worldScene); }
public string GetScenePath(WorldScene wScene) { var worldScene = GetSceneReference(wScene); return(worldScene == null ? string.Empty : worldScene.ScenePath); }
public int GetSceneBuildIndex(WorldScene wScene) { var worldScene = GetSceneReference(wScene); return(worldScene == null ? -1 : worldScene.SceneBuildIndex); }