Beispiel #1
0
        private TileColorManager tileColorManager;               // 타일 색 설정 스크립트


        // 초기화
        private void Awake()
        {
            GetComponent <TileClick>().enabled = false;

            tile             = GetComponent <Tile>();
            tileColorManager = GetComponent <TileColorManager>();
        }
 void Start()
 {
     playerSelectManager = GetComponent<PlayerSelectManager>();
     gameManager = GetComponent<GameManager>();
     undoManager = GetComponent<UndoManager>();
     mapGenerator = GetComponent<MapGenerator>();
     currentActionSelected = -1;
     tileColorManager = GetComponent<TileColorManager>();
 }