프로퍼티 | 타입 | 설명 | |
---|---|---|---|
sfxConstrucaoConcluida |
메소드 | 설명 | |
---|---|---|
CreateNewBuilding ( ) : void |
Actually creates a building. First, instantiate it, then do the basic setup if needed
|
|
SetBuildingTime ( float buildTime ) : void |
Sets the building time for this construction box
|
|
SetBuiltOverObject ( Transform builtOver ) : void |
Get the object where this will be built
|
|
SetPrefabToBuild ( Transform prefabToBuild ) : void |
Set the prefab object to build
|
|
Start ( ) : void | ||
Update ( ) : void | ||
UpdateAStarGraphWithNewBuilding ( ) : void |
Updates the A* graph with the recently built building, using it's collider
|
메소드 | 설명 | |
---|---|---|
DestroyBox ( ) : IEnumerator |
Routine to play the complete animation and, after it's done, destroy this object
|
public SetBuiltOverObject ( Transform builtOver ) : void | ||
builtOver | Transform | |
리턴 | void |
public SetPrefabToBuild ( Transform prefabToBuild ) : void | ||
prefabToBuild | Transform | |
리턴 | void |