EyeAnimationHandler [Deprecated]
Animate avatar eye blinking.
Rotates and blinks the eyes of the avatar randomly.
To add eye blinking to your avatar, do one of the following.
- Select Component > Ready Player Me >EyeAnimationHandler. 
- At runtime, use Unity's - AddComponent()method.
Properties
Property
Type
Description
BlinkSpeed
float
How fast the eyes blink in seconds.
BlinkInterval
float
Frequency of eye blinking in seconds.
Example
private void AvatarLoadedCallback(GameObject avatar)
{	
    avatar.AddComponent<EyeRotationHandler>();
}Last updated
Was this helpful?

