- Namespace
- EasyBuildSystem
.Features .Scripts .Core .Base .Manager - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["BuildManager"]
class Type type-node
Syntax
[ExecuteInEditMode, DefaultExecutionOrder(-998)]
[AddComponentMenu("Easy Build System/Features/Build Manager")]
[RequireComponent(typeof(BuildEvent))]
public class BuildManager : MonoBehaviour
Attributes
Type | Description |
---|---|
ExecuteInEditMode | |
Default |
|
AddComponentMenu | |
RequireComponent |
Fields
Name | Constant Value | Summary |
---|---|---|
Blueprints | ||
BuildingSupport | ||
CachedAreas | ||
CachedParts | ||
CachedSockets | ||
Default |
||
DefaultState | ||
FreeLayers | ||
Instance |
static
|
|
Pieces |
Methods
Name | Value | Summary |
---|---|---|
AddArea |
void |
This method allows to add a area from the manager cache.
|
AddPiece |
void |
This method allows to add a piece from the manager cache.
|
AddSocket |
void |
This method allows to add a socket from the manager cache.
|
GetAllNearestPiece |
PieceBehaviour[] |
This method allows to get all the nearest pieces from point according radius.
|
GetNearestArea |
AreaBehaviour |
This method allows to get the nearest area.
|
GetPieceByCategory |
PieceBehaviour |
This method allows to get a prefab by category.
|
GetPieceById |
PieceBehaviour |
This method allows to get a prefab by id.
|
GetPieceByName |
PieceBehaviour |
This method allows to get a prefab by name.
|
IsSupport |
bool |
This method allows to check if the collider is a support.
|
Load |
void |
This method allows to load a blueprint data in edit times.
|
Load |
void |
This method allows to load a blueprint data in edit times.
|
Load |
void |
This method allows to load a blueprint data in runtimes.
|
Load |
void |
This method allows to load a blueprint data in runtimes.
|
OnEnable |
void | |
OnEvent |
void | |
PlacePrefab |
PieceBehaviour |
This method allows to place a piece.
|
RemoveArea |
void |
This method allows to remove a area from the manager cache.
|
RemovePiece |
void |
This method allows to remove a piece from the manager cache.
|
RemoveSocket |
void |
This method allows to remove a socket from the manager cache.
|