Firstborn/Assets/Scripts/AvatarFilePrefab.cs
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

22 lines
538 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
namespace RPGCreationKit
{
public class AvatarFilePrefab : MonoBehaviour
{
[SerializeField] public TextMeshProUGUI Name;
[SerializeField] public TextMeshProUGUI Sex;
[SerializeField] public TextMeshProUGUI Race;
[SerializeField] public string FilePath;
[SerializeField] public LoadSaveActors LSAGO;
public void LoadThisActor() {
LSAGO.LoadAvatar(FilePath);
}
}
}