Exemplo n.º 1
0
    protected void LoadScene(VScene scene)
    {
        if (navigationController == null)
        {
            return;
        }

        navigationController.LoadScene(scene);
    }
Exemplo n.º 2
0
    public void LoadScene(VScene scene)
    {
        if (currentScene != null)
        {
            currentScene.Detach();
        }

        currentScene = scene;
        currentScene.AttachTo(container, this);
    }
Exemplo n.º 3
0
    void Start()
    {
        VScene scene = VSceneFactory.Instance.FirstScene();

        LoadScene(scene);
    }