Property | Type | Description | |
---|---|---|---|
sfxConstrucaoConcluida |
Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
DestroyBox ( ) : IEnumerator |
Routine to play the complete animation and, after it's done, destroy this object
|
public SetBuildingTime ( float buildTime ) : void | ||
buildTime | float | |
return | void |
public SetBuiltOverObject ( Transform builtOver ) : void | ||
builtOver | Transform | |
return | void |
public SetPrefabToBuild ( Transform prefabToBuild ) : void | ||
prefabToBuild | Transform | |
return | void |
public UpdateAStarGraphWithNewBuilding ( ) : void | ||
return | void |