示例#1
0
        private void LinkDirectiontoLocation(int number)
        {
            List <RoomLocation> children = playerMover.GetChoices().ToList();

            for (int i = 0; i < children.Count; i++)
            {
                if (i == number)
                {
                    playerMover.SelectMove(children[i]);
                    UpdateUI();
                }
            }
        }