SABoneCollider
A class in Root.Township, the global namespace.
Editor tool component (from the SAColliderBuilder asset) that holds settings for generating colliders on a bone, and marks the object's name with * or + when it or its children were edited.
- Listed in Global namespace: S
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
SABoneCollider() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
| Member | What it is |
|---|---|
SABoneColliderCommon.SABoneColliderProperty boneColliderProperty | All collider-building settings for this bone. |
bool cleanupModified | Editor flag, not saved. |
SABoneColliderCommon.SABoneColliderProperty defaultBoneColliderProperty | The settings to go back to on reset. |
string defaultName | The object's name without the modified marker. |
SABoneColliderCommon.SABoneColliderProperty edittingBoneColliderProperty | Settings being edited in the inspector. Not saved. |
bool isDebug | Editor debug flag, not saved. |
bool modified | True if this bone's settings were changed from the defaults. |
bool modifiedChildren | True if a child bone's settings were changed. |
Properties
| Member | What it is |
|---|---|
SABoneColliderCommon.BoneProperty boneProperty { get; } | Bone part of the settings, or null. |
SAColliderBuilderCommon.ColliderProperty colliderProperty { get; } | Collider part of the settings, or null. |
bool modifyNameEnalbed { get; } | Whether the name marker is used (misspelled in the asset). |
bool recursivery { get; } | Whether the settings also apply to child bones (misspelled in the asset). |
SAColliderBuilderCommon.ReducerProperty reducerProperty { get; } | Mesh reducer part of the settings, or null. |
SAColliderBuilderCommon.RigidbodyProperty rigidbodyProperty { get; } | Rigidbody part of the settings, or null. |
SABoneColliderCommon.SplitProperty splitProperty { get; } | Split part of the settings, or null. |