CharacterComponentController
An abstract class in Root.Township, Alta.Character.
Base for player character rig components (arm IK, elbows and so on) that an owning controller updates in a set order instead of through Unity's Update. Finds its PlayerController in a parent.
- Listed in Players and characters
- Inherits or implements
MonoBehaviour
- Derived types
ArmController, ArmIKController, BodyController, CharacterCollisionController, CharacterComponentControllerCollection, ClavicleController, DummyCharacterController, ElbowController, EyeFocusController, GhostHandController, Hand, IKSolverManagerWrapper, IKTwistRelaxerWrapper, NeckIKController, RotationLimitWrapper, ShoulderTwistController, SimpleIKController, TwistRelaxerController, NetworkedIKBody
Constructors
| Member | What it is |
|---|
protected CharacterComponentController() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
Properties
Events
| Member | What it is |
|---|
event UpdateHandler PostComponentUpdate | Raised after each fixed update of the component. |
event UpdateHandler PreComponentUpdate | Raised by subclasses before they update, local player only. |
Methods
| Member | What it is |
|---|
virtual void FixedUpdateCharacterComponent() | Called each fixed step by the owner. The base version raises PostComponentUpdate. |
virtual void UpdateCharacterComponent() | Called each frame by the owner. Empty in the base. |
protected void OnPreComponentUpdate() | Raises PreComponentUpdate, but only for the local player. |
Used in
Members of other types that take, return or hold a CharacterComponentController: