private void Start() { if (Instance != null && Instance != this) { Destroy(gameObject); } else { Instance = this; } Directory.CreateDirectory(Application.streamingAssetsPath + "/Char_Dialogues/"); fileContainer = Resources.Load <FileUIContainer>("Prefab/File_JustText_ToEdit"); }
void Start() { loadManager = EditTextFile.Instance; }