유니티 Split 사용법
유니티를 하다보면은 에쎗폴더 내용을 캔버스에 노출 시키거나 별도의 표현법을 사용해야 되는 경우가 있다. enum DialogKey { } public class DialogsManager : MonoBehaviour { // 1. 파일 로드한다. // key => value Dictionary dialogTable = new Dictionary(); // 싱글톤 public static DialogsManager Instance; private void Awake() { if(Instance == null) { Instance = this; } LoadDialog(); } // 1. 파일 로드해서 dialogTable 에 값을 넣어준다. void LoadDialog() { //폴더에 있는 내용 불러오기 ..
유니티
2020. 4. 22. 22:17