add ready player me POC
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using UnityEngine.Events;
|
||||
|
||||
namespace ReadyPlayerMe.Core.WebView
|
||||
{
|
||||
// Event to call when avatar is created, receives GLB url.
|
||||
[Serializable] public class WebViewEvent : UnityEvent<string>
|
||||
{
|
||||
}
|
||||
|
||||
// Event to call when avatar is created, receives GLB url.
|
||||
[Serializable] public class AssetUnlockEvent : UnityEvent<AssetRecord>
|
||||
{
|
||||
}
|
||||
|
||||
public static class WebViewEvents
|
||||
{
|
||||
public const string AVATAR_EXPORT = "v1.avatar.exported";
|
||||
public const string USER_SET = "v1.user.set";
|
||||
public const string USER_AUTHORIZED = "v1.user.authorized";
|
||||
public const string ASSET_UNLOCK = "v1.asset.unlock";
|
||||
public const string USER_UPDATED = "v1.user.updated";
|
||||
public const string USER_LOGOUT = "v1.user.logout";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user