void OnEnable() { if (_currentState == UIState.SAVE_PROMPT) { confirmButtonText.text = "Save"; _processType = IOProcessType.SAVE; } else if (_currentState == UIState.LOAD_PROMPT) { confirmButtonText.text = "Load"; _processType = IOProcessType.LOAD; } }
public IOProcessEventArgs(string filePath, IOProcessType processType) { this.filePath = filePath; this.processType = processType; }