Esempio n. 1
0
        private void MoveExaminer()
        {
            int[] target = coord.Convert(
                GetComponent <PlayerInput>().GameCommand(),
                FindObjects.GetStaticActor(SubObjectTag.Examiner)
                .transform.position);

            GetComponent <IMove>().MoveGameObject(target);
        }
Esempio n. 2
0
        private void PrintPool()
        {
            string label = GetComponent <GameText>().GetStringData(node,
                                                                   "Pool");

            if (board.CheckBlock(SubObjectTag.Pool,
                                 FindObjects.GetStaticActor(SubObjectTag.Examiner)
                                 .transform.position))
            {
                getUI(UITag.ExaminePoolLabel).text = label;
            }
            else
            {
                getUI(UITag.ExaminePoolLabel).text = "";
            }
        }