Building Part

You can find all the information about Building Part here.

Contains all data concerning the building, such as the model, preview, and conditions.

Explore fields description in the Inspector by hovering your cursor over them. You can find more information about this here: Tooltip Attribute.


API

You can access this class by including the following namespace:

using EasyBuildSystem.Features.Runtime.Buildings.Part;

Here is a list of all the events and methods of this component that can be called:

Events

/// <summary>
/// Event triggered when the state of the Building Part is changed.
/// </summary>
OnChangedStateEvent.AddListener((StateType state) => { });

All of the methods related to this component can be found in the file BuildingPart.cs If you have any specific questions about the API, feel free to contact us.

Last updated