Exemplo n.º 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>();
 }
Exemplo n.º 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);
    }
Exemplo n.º 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;
    }