Beispiel #1
0
 void Awake()
 {
     quizUIManager    = GameObject.Find("GameManager").GetComponent <QuizUIManager>();
     _photonView      = PhotonView.Get(this);
     quizSceneManager = GameObject.Find("GameManager").GetComponent <QuizSceneManager>();
     quizGetter       = GameObject.Find("QuizManager").GetComponent <QuizGetter>();
     cardUIManager    = GameObject.Find("GameManager").GetComponent <CardUIManager>();
 }
Beispiel #2
0
    void Awake()
    {
        Instance         = this;
        QuizManager      = GameObject.Find("QuizManager");
        quizUIManager    = gameObject.GetComponent <QuizUIManager>();
        quizGetter       = QuizManager.GetComponent <QuizGetter>();
        multiQuizManager = GameObject.Find("MultiQuizManager").GetComponent <MultiQuizManager>();

        SetCurrentState(GameState.Start);
    }
Beispiel #3
0
    void Awake()
    {
        //Instance = this;
        QuizManager      = GameObject.Find("QuizManager");
        quizUIManager    = gameObject.GetComponent <QuizUIManager>();
        cardUIManager    = gameObject.GetComponent <CardUIManager>();
        cardAnimManager  = gameObject.GetComponent <CardAnimManager>();
        quizGetter       = QuizManager.GetComponent <QuizGetter>();
        multiQuizManager = GameObject.Find("MultiQuizManager").GetComponent <MultiQuizManager>();
        answerUIManager  = gameObject.GetComponent <AnswerUIManager>();

        userManager = UserManager.Instance.gameObject;
    }