Summary
Events which will be triggered while this state plays
based on its
Animancer.AnimancerState.NormalizedTime
.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerState
Syntax
public AnimancerEvent.Sequence OwnedEvents { get; set; }
Remarks
This property tries to ensure that the event sequence is only referenced by this state.
-
If the reference was
null , a new sequence will be created. -
If a reference was assigned to
, it will be cloned so this state owns the clone.
Animancer.AnimancerState.Events(System.Object)
or Animancer.AnimancerState.Events(System.Object,Animancer.AnimancerEvent.Sequence@)
is often safer than this property since they help detect if multiple scripts are using the same
state which could lead to unexpected bugs if they each assign conflicting callbacks.
Documentation:
Animancer Events
Value
Type | Description |
---|---|
AnimancerEvent |