Start an external process window. More...
Inherits MonoBehaviour.
| Public Member Functions | |
| void | Launch () | 
| Launch a process set up by this if not yet.  More... | |
| void | Kill () | 
| Kill the process started by this immediately if is running.  More... | |
| Public Attributes | |
| bool | launchOnAwake = true | 
| Flag if to auto launch process when Awake().  More... | |
| bool | killOnDestroy = true | 
| Flag if to auto kill the process when this OnDestroy().  More... | |
| string | file = "" | 
| The file path to start the process.  More... | |
| string | arguments = "" | 
| The arguments passed to the process.  More... | |
| ProcessWindowStyle | style = ProcessWindowStyle.Normal | 
| The process window style.  More... | |
| Properties | |
| Process | process  [get] | 
| The process started by this.  More... | |
| bool | isRunning  [get] | 
| Determine if the process started by this is still running.  More... | |
Start an external process window.
Only allow one process running by each launcher for easier maintenance. Use multiple components to run a number of processes in need.
| void Launch | ( | ) | 
Launch a process set up by this if not yet.
| void Kill | ( | ) | 
Kill the process started by this immediately if is running.
| bool launchOnAwake = true | 
Flag if to auto launch process when Awake(). 
| bool killOnDestroy = true | 
Flag if to auto kill the process when this OnDestroy(). 
It's recommended, otherwise user should maintain it manually.
| string file = "" | 
The file path to start the process.
| string arguments = "" | 
The arguments passed to the process.
| ProcessWindowStyle style = ProcessWindowStyle.Normal | 
The process window style.
| 
 | get | 
The process started by this.
| 
 | get | 
Determine if the process started by this is still running.