... | @@ -100,13 +100,13 @@ Defense_Game 만들기 |
... | @@ -100,13 +100,13 @@ Defense_Game 만들기 |
|
|
|
|
|
* TowerSpawner.cs에서 Setup함수에 tile매개변수 추가
|
|
* TowerSpawner.cs에서 Setup함수에 tile매개변수 추가
|
|
![image](uploads/feedc6967d3259d8116ae0afd4983b4d/image.png)
|
|
![image](uploads/feedc6967d3259d8116ae0afd4983b4d/image.png)
|
|
|
|
=========================================================================
|
|
* TowerWeapon.cs에 ownerTile변수 선언
|
|
* TowerWeapon.cs에 ownerTile변수 선언
|
|
![image](uploads/2215391054538a8e923a13044975fbdb/image.png)
|
|
![image](uploads/2215391054538a8e923a13044975fbdb/image.png)
|
|
|
|
|
|
* Setup함수의 매개변수로 ownerTile을 추가
|
|
* Setup함수의 매개변수로 ownerTile을 추가
|
|
![image](uploads/a6c142e8cc3f45df16e493f1b86eb791/image.png)
|
|
![image](uploads/a6c142e8cc3f45df16e493f1b86eb791/image.png)
|
|
|
|
=========================================================================
|
|
* Sell함수 추가
|
|
* Sell함수 추가
|
|
![image](uploads/9a52832fbee68fe4882ee9605572c452/image.png)
|
|
![image](uploads/9a52832fbee68fe4882ee9605572c452/image.png)
|
|
|
|
|
... | | ... | |