notebook实装功能,galgame继续,一些bug修复
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
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>();
|
||||
}
|
||||
Reference in New Issue
Block a user