예제 #1
0
파일: Casilla.cs 프로젝트: Filinouns/IAV
        public void Init(Tablero board, uint t)
        {
            if (board == null)
            {
                throw new ArgumentNullException(nameof(board));
            }

            board_ = board;
            type_  = t;

            this.gameObject.SetActive(true);

            /*if (type_ == 6) {   //Desactivar algunas (las default)
             *  this.gameObject.SetActive(false);
             * }
             * else {
             *  this.gameObject.SetActive(true);
             * }*/
        }