Click or drag to resize

StrixAnimationSynchronizer Class

Component that enables animation synchronization.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          SoftGear.Strix.Unity.RuntimeStrixBehaviour
            SoftGear.Strix.Unity.RuntimeStrixAnimationSynchronizer

Namespace:  SoftGear.Strix.Unity.Runtime
Assembly:  StrixUnityRuntime (in StrixUnityRuntime.dll) Version: 1.5.0
Syntax
C#
public class StrixAnimationSynchronizer : StrixBehaviour

The StrixAnimationSynchronizer type exposes the following members.

Constructors
  NameDescription
Public methodStrixAnimationSynchronizer
Initializes a new instance of the StrixAnimationSynchronizer class
Top
Methods
Fields
  NameDescription
Public fieldAnimator
Unity Animator reference.
Public fieldParameterSynchronizationFlags
A list of flags that determine whether specific animation parameters should be synchronized or not.
Public fieldSynchronizeStates
If set to , will synchronize Mecanim states.
Top
Remarks
Adding this component to an object will enable automatic animation synchronization. Animation synchronization is performed by synchronizing Animator's state and parameters.

You can uncheck some of the parameters in the inspector to disable their synchronization. This may be useful in situations when parameters can be set locally based on some conditions like character being grounded.

See Also