Class PerfCharacterState

Namespace
CodeSmile.AnyMotion.AnimateYourself.Samples
/
Assembly
ApiSource.dll

Test helper for toggling one character between alive/dead and rendered/hidden states. Assumes the assigned GameObject is the logical character root and searches children.

public sealed class PerfCharacterState : MonoBehaviour
Expand Details ...
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
PerfCharacterState

Properties

Alive

public bool Alive { get; set; }

Property Value

bool

AnyMotionEnabled

public bool AnyMotionEnabled { get; set; }

Property Value

bool

HasPuppetMaster

public bool HasPuppetMaster { get; }

Property Value

bool

PuppetMasterEnabled

public bool PuppetMasterEnabled { get; set; }

Property Value

bool

RenderersEnabled

public bool RenderersEnabled { get; set; }

Property Value

bool

Methods

ApplyState()

public void ApplyState()

CacheComponents()

public void CacheComponents()

SetAlive(bool)

public void SetAlive(bool alive)

Parameters

Type Name Description
bool
alive

SetDead()

public void SetDead()

SetRendered(bool)

public void SetRendered(bool rendered)

Parameters

Type Name Description
bool
rendered