Esempio n. 1
0
    public void Awake()
    {
        uiCtrl = gameObject.AddComponent <InGameUIController>();
        uiCtrl.TutorialInit();

        cookingCtrl = gameObject.AddComponent <InGameCookingController>();
        cookingCtrl.TutorialInit();

        nyangCtrl = gameObject.AddComponent <InGameNyangController>();
        nyangCtrl.Initialize(cookingCtrl);

        tutoManager = TutorialManager.getInstance;
        tutoManager.StartTutorial(cookingCtrl, nyangCtrl);

        StartCoroutine("UpdateFrame");
    }