Ejemplo n.º 1
0
 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;
     }
 }
Ejemplo n.º 2
0
 public IOProcessEventArgs(string filePath, IOProcessType processType)
 {
     this.filePath    = filePath;
     this.processType = processType;
 }