Files
bansonic_beta_main/Assets/_galgame_inGame/galgame_speakers_so.cs
T

31 lines
724 B
C#

using UnityEngine;
using System.Collections.Generic;
using Spine.Unity.Editor;
[System.Serializable]
public class Speaker
{
public speakerType spkrType = speakerType.systemLyrics;
public int spkrID;
public string spkrName;
public Color spkr_themeColor;
[TextArea(3, 10)]
public string spkrDescription;
public Sprite spkrHD_Sprite;
public Sprite spkrProfile_Sprite;
}
public enum speakerType{
systemBG,
systemLyrics,
character
}
[CreateAssetMenu(fileName = "NewSpeakerSO", menuName = "Galgame/speakerSO")]
public class galgame_speakers_so : ScriptableObject
{
[Header("Speakers List")]
public List<Speaker> speakers = new List<Speaker>();
}