public void SetFileContext(int Type) { if (FileSelect == (FileSelectContext)Type) { FileSelect = FileSelectContext.StartGame; } else { FileSelect = (FileSelectContext)Type; } Debug.Log(FileSelect.ToString()); if (FileSelect == FileSelectContext.Copy) { copyIndex = -1; } }
private void OnEnable() { FileSelect = FileSelectContext.StartGame; }