스크립터블 오브젝트에 딕셔너리 형식이있는데 생성하니까 애디터상에서는 안보임;;

에디터에서 보이게할려면 어케해야하냐


[System.Serializable]
public class Keyword
{
public string name;
public string explanation;
public int circle;
public int cost;
public Dictionary<string, int> types = new Dictionary<string, int>();
}

[CreateAssetMenu(fileName = "KeywordSo", menuName = "Scriptable Object/KeywordSo")]
public class KeywordSo: ScriptableObject
{
public Keyword[] KeywordInfo;
}

이런식으로 되어있음


수정) 딕셔너리 형식은 직렬화가 되지않음 그래서 에디터상에서 발견되지 않음 자세한건 해당링크 참조

https://dodnet.tistory.com/4539


수정)나 같은 문제를 겪는 사람이있을것 같아서 공유함 출처: https://redforce01.tistory.com/243 [[은고] 게임 프로그래밍:티스토리] (딕셔너리 형식 정렬화)