Method Disable
Disable(string)
Allows to temporarily fully disable trigger mechanism. This will basically put trigger on pause, preserving CPU resources
Declaration
public IDisposable Disable(string reason = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | reason | Reason why the trigger was disabled |
Returns
| Type | Description |
|---|---|
| IDisposable | Anchor that must be disposed to enable trigger back again |