Example #1
0
    void Start()
    {
        cutScene.FadeIn(AfterCutSceneEvents);

        cardSelection = GameObject.Find("CardSelection");

        rock    = GameObject.Find("CardRock").GetComponent <CardBehaviour>();
        scissor = GameObject.Find("CardScissor").GetComponent <CardBehaviour>();
        paper   = GameObject.Find("CardPaper").GetComponent <CardBehaviour>();

        computer = GameObject.Find("ComputerCard").GetComponent <CardBehaviour>();

        message = GameObject.FindObjectOfType <GameMessage>();

        cardsContainer = GameObject.Find("CardsContainer").GetComponent <Animator>();
        roundCounter   = GameObject.Find("RoundCounter").GetComponent <Animator>();

        AdjustRoundCounterText(0);
    }