Skip to main content

DummyCharacterController

A class in Root.Township, Alta.Character.

Character component that forwards updates and the local flag to the controller collection on its character dummy.

Constructors​

MemberWhat it is
DummyCharacterController()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private CharacterDummyPointer pointerPointer to the character dummy whose controllers this drives.

Properties​

MemberWhat it is
override bool IsLocal { get; set; }Whether this character is the local player. Setting it also sets it on the dummy's controllers.

Methods​

MemberWhat it is
override void FixedUpdateCharacterComponent()While active, runs the dummy's controllers' fixed update, then its own.
override void UpdateCharacterComponent()While active, runs the dummy's controllers' update. It then calls the base fixed update, not the base update.