Esempio n. 1
0
    void Start()
    {
        player = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerInfo>();
        stone  = this.GetComponent <StoneInfo>();

        grid = GameObject.Find("Game Grid").GetComponent <GridManager4>();
    }
Esempio n. 2
0
    void Start()
    {
        canClick = true;

        GameObject[] ices = GameObject.FindGameObjectsWithTag("Ice");
        playerInfo      = this.GetComponent <PlayerInfo>();
        gridManagerInfo = GameObject.Find("Game Grid").GetComponent <GridManager4>();

        arrow = GameObject.Find("ArrowClick").GetComponent <ArrowClick>();

        icesThatCanClick();
    }