Ejemplo n.º 1
0
        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);
             * }*/
        }