Property | Type | Description | |
---|---|---|---|
STATE_DIE | StateTriangleBuilding, | ||
STATE_IDLE | StateTriangleBuilding, | ||
STATE_PROD | StateTriangleBuilding, | ||
prefabTriangleUnit | GameObject | ||
spawnPoint | GameObject |
Method | Description | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void | ||
createUnit ( ) : void | ||
getCountSphere ( ) : int | ||
setCurrentState ( StateTriangleBuilding, newState ) : void | ||
suscribe ( ) : void |
Method | Description | |
---|---|---|
checkNewState ( ) : void | ||
die ( ) : void | ||
playAnim ( ) : void | ||
prod ( ) : void |
public setCurrentState ( StateTriangleBuilding, newState ) : void | ||
newState | StateTriangleBuilding, | |
return | void |
public StateTriangleBuilding, STATE_IDLE | ||
return | StateTriangleBuilding, |
public StateTriangleBuilding, STATE_PROD | ||
return | StateTriangleBuilding, |