跳到主要内容

Class SpineEyeBlinker

Properties

eyeTrackIndex

眼睛动画轨道的索引

public int eyeTrackIndex { get; set; }

minInterval

最小眨眼间隔

public float minInterval { get; set; }

maxInterval

最大眨眼间隔

public float maxInterval { get; set; }

Constructors

SpineEyeBlinker(IAnimationStateComponent animationStateComponent)

public SpineEyeBlinker(IAnimationStateComponent animationStateComponent)

SpineEyeBlinker(IAnimationStateComponent animationStateComponent, int eyeTrackIndex)

public SpineEyeBlinker(IAnimationStateComponent animationStateComponent, int eyeTrackIndex)

SpineEyeBlinker(IAnimationStateComponent animationStateComponent, float minInterval, float maxInterval)

public SpineEyeBlinker(IAnimationStateComponent animationStateComponent, float minInterval, float maxInterval)

SpineEyeBlinker(IAnimationStateComponent animationStateComponent, int eyeTrackIndex, float minInterval, float maxInterval)

public SpineEyeBlinker(IAnimationStateComponent animationStateComponent, int eyeTrackIndex, float minInterval, float maxInterval)

Methods

Stop()

public void Stop()

Start(string eyeBlinkAnimationName)

public Coroutine Start(string eyeBlinkAnimationName)

Start(string eyeBlinkAnimationName, float minInterval, float maxInterval)

public Coroutine Start(string eyeBlinkAnimationName, float minInterval, float maxInterval)