959e80cf72
assets upload description.
22 lines
538 B
C#
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);
|
|
}
|
|
}
|
|
}
|