Esempio n. 1
0
 public void UpdateName(string name)
 {
     _name = name;
     ApplicationSceneController.Instance().UpdateUserName(name);
     Debug.Log(_name);
     //PlayAnimation
     _AcceptButton.enabled = (_name != null);
 }
    public static ApplicationSceneController Instance()
    {
        if (_instance == null)
        {
            GameObject obj = new GameObject();
            obj.name  = "SceneController";
            _instance = obj.AddComponent <ApplicationSceneController>();
        }

        return(_instance);
    }
Esempio n. 3
0
 void Awake()
 {
     ApplicationSceneController.Instance()._OnSceneChange += UIViewState__OnSceneChange;
 }
Esempio n. 4
0
 public void TriggerTrainingSelection()
 {
     ApplicationSceneController.Instance().TriggerStateChange(SceneNames.Selection);
 }