initial upload

This commit is contained in:
Fiedler
2025-09-24 13:27:39 +02:00
commit c721469c3b
2676 changed files with 787530 additions and 0 deletions

View File

@ -0,0 +1,19 @@
using UnityEngine;
using ReadyPlayerMe.Core;
public class MyAvatarLoader : MonoBehaviour
{
[Tooltip("Avatar URL von Ready Player Me")]
public string avatarUrl = "https://models.readyplayer.me/YOUR-ID/avatar.glb";
void Start()
{
var loader = new AvatarObjectLoader();
loader.OnCompleted += (_, args) =>
{
args.Avatar.transform.position = Vector3.zero;
Debug.Log("Avatar geladen!");
};
loader.LoadAvatar(avatarUrl);
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c14a459e9df8fe2408fc78fbc0f8261b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: