BuildManager Class

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
DefaultExecutionOrder
AddComponentMenu
RequireComponent

Fields

Methods

Name Value Summary
AddArea(AreaBehaviour) void
This method allows to add a area from the manager cache.
AddPiece(PieceBehaviour) void
This method allows to add a piece from the manager cache.
AddSocket(SocketBehaviour) void
This method allows to add a socket from the manager cache.
GetAllNearestPiece(Vector3, float) PieceBehaviour[]
This method allows to get all the nearest pieces from point according radius.
GetNearestArea(Vector3) AreaBehaviour
This method allows to get the nearest area.
GetPieceByCategory(string) PieceBehaviour
This method allows to get a prefab by category.
GetPieceById(int) PieceBehaviour
This method allows to get a prefab by id.
GetPieceByName(string) PieceBehaviour
This method allows to get a prefab by name.
IsSupport(Collider) bool
This method allows to check if the collider is a support.
LoadBlueprintInEditor() void
This method allows to load a blueprint data in edit times.
LoadBlueprintInEditor(BlueprintTemplate) void
This method allows to load a blueprint data in edit times.
LoadBlueprintInRuntimeEditor() void
This method allows to load a blueprint data in runtimes.
LoadBlueprintInRuntimeEditor(BlueprintTemplate) void
This method allows to load a blueprint data in runtimes.
OnEnable() void
OnEvent(AtavismEventData) void
PlacePrefab(PieceBehaviour, Vector3, Vector3, Vector3, GroupBehaviour, SocketBehaviour, bool) PieceBehaviour
This method allows to place a piece.
RemoveArea(AreaBehaviour) void
This method allows to remove a area from the manager cache.
RemovePiece(PieceBehaviour) void
This method allows to remove a piece from the manager cache.
RemoveSocket(SocketBehaviour) void
This method allows to remove a socket from the manager cache.