|
void | RemoveAvatar (AnimatedAvatar avatar) |
| Remove an avatar from the manager data. Destroy the avatar target.
|
|
void | ClearAllAvatars () |
|
AnimatedAvatar | AddAvatar (string name="", string provider="", string animationName="", AvatarReadyAnimationReplayer.AnimationType animationType=AvatarReadyAnimationReplayer.AnimationType.Anim, Transform targetPosition=null) |
| Add an avatar to manager data.
|
|
void | Start () |
|
void | SetupRuntimeAvatar (AnimatedAvatar avatar, UnityAction< AvatarReadySetup > Callback=null) |
| Initialize an avatar at runtime with Animated avatar values.
|
|
void | ChangeAvatar (AnimatedAvatar avatar, string newAvatarName, string provider, UnityAction Callback=null) |
| Apply a new avatar to a current animated Avatar. Used for runtime avatar changes.
|
|
void | ChangeAnimation (AnimatedAvatar avatar, string animationName, bool playAnimation=true) |
| Change current animation on an avatar.
|
|
void | OnAvatarLoaded (AnimatedAvatar avatar) |
| Callback when the avatar finishes loading.
|
|
void | PlayAllAnimations (bool fromStart=true) |
| Play all current avatars.
|
|
void | WriteJson (bool newFile=false) |
| Write manager data to FilePath.
|
|
void | WriteToJson (string path) |
| Write manager data to a json file.
|
|
void | ReadJson () |
| Load manager data from FilePath.
|
|
void | ReadFromJson (string path) |
| Load manager data from a json file at path.
|
|
void | ReadFromResources (string path) |
| Read manager data from a json file in resources folder.
|
|
void | GetOrCreateTargetObject (AnimatedAvatar avatar) |
| Try to find the target objet for an animated avatar. If none find, creates a new one.
|
|