29 lines
657 B
C#
29 lines
657 B
C#
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
|
|
[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 spkrSprite;
|
|
}
|
|
|
|
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>();
|
|
} |