protected void LoadScene(VScene scene) { if (navigationController == null) { return; } navigationController.LoadScene(scene); }
public void LoadScene(VScene scene) { if (currentScene != null) { currentScene.Detach(); } currentScene = scene; currentScene.AttachTo(container, this); }
void Start() { VScene scene = VSceneFactory.Instance.FirstScene(); LoadScene(scene); }