Ready Player Me > Avatar Loader
. To create and save your avatar in the editor, simply paste your avatar URL and click on the Load Avatar
button.AvatarLoader
and call the LoadAvatar()
method from the instance with the URL of the avatar to load.OnCompleted
, OnFailed
and OnProgressChanged
events to notify you app about the current state of the avatar loading operation.Assets\Plugins\Wolf3D Ready Player Me SDK\Examples\Runtime Avatar Loader\RuntimeTest
scene.public void LoadAvatar(string url)
public event EventHandler<FailureEventArgs> OnFailed
public event EventHandler<CompletionEventArgs> OnCompleted
public event EventHandler<ProgressChangedEventArgs> OnProgressChanged
public IAvatarImporter AvatarImporter;
public bool UseAvatarCaching { get; set; }
public string LocalDirectory { get; set; }
GameObject/UI/WebView Canvas
menu or right-clicking in the Hierarchy window and selecting IU/WebView Canvas
menu.public void CreateWebview()
public void SetScreenPadding(int left, int top, int right, int bottom)
public Action<string> OnWebviewStarted
public Action<string> OnAvatarCreated
public void SetVisible(bool visible)
public void ClearAvatarData()
public
float
BlinkSpeed;
public
AudioSource
BlinkInterval;
mouthOpen
blend shape via amplitude of the voice. The animation will have a 1-second delay due to minimum recording length.public
AudioClip
AudioClip;
public
AudioSource
AudioSource;
public
AudioProviderType
AudioProvider
public
void
PlayCurrentAudioClip()
public
void
PlayAudioClip(AudioClip audioClip)
.unitypackage
file, if you are using an older or a newer version of these dependencies please backup your project before making changes.