Base class for a Behaviour to attach to your Part. Ideal usage is inheriting from this class (public class MyBehaviour : Behaviour {})
More...
|
|
override void | LoadJsonProperty (JsonReader reader, string propertyName) |
| | !! NOT FOR MODDER USE !!
Used by GearBlocks for loading your Part properties.
|
| |
|
override void | SaveJsonProperties (JsonWriter writer) |
| | !! NOT FOR MODDER USE !!
Used by GearBlocks for saving your Part properties.
|
| |
| List< GameObject > | GetLinkedParts (string link_name) |
| | Gets a list of all Parts linked to the Link Type.
|
| |
| AttachmentBase | GetAttachment (string attachment_name) |
| | Gets a specific attachment by Attachment Name.
|
| |
|
|
Dictionary< string, TweakableBase > | tweakables_dict = new Dictionary<string, TweakableBase>() |
| |
|
|
override string | Name [get] |
| |
|
PartDescriptor | descriptor [get] |
| |
|
Composite | composite [get] |
| |
|
Rigidbody | rigidBody [get] |
| |
|
Construction | construction [get] |
| |
Base class for a Behaviour to attach to your Part. Ideal usage is inheriting from this class (public class MyBehaviour : Behaviour {})
◆ GetAttachment()
| AttachmentBase GearLib.API.Behaviour.GetAttachment |
( |
string | attachment_name | ) |
|
Gets a specific attachment by Attachment Name.
- Parameters
-
| attachment_name | Unique string ID of the attachment. |
- Returns
◆ GetLinkedParts()
| List< GameObject > GearLib.API.Behaviour.GetLinkedParts |
( |
string | link_name | ) |
|
Gets a list of all Parts linked to the Link Type.
- Parameters
-
| link_name | Unique string ID of the Link Type. |
- Returns
- List of Parts
The documentation for this class was generated from the following file: