Class ErrorOverlayController
- Namespace
- UI
The error overlay controller handles the error overlay, triggers it on actions from the statemachine and sets its texts. It is triggerd through invocation of an action in the StatemachineConnector and therefore has no public methods.
public class ErrorOverlayController : MonoBehaviour
- Inheritance
-
objectErrorOverlayController
Fields
fadeDuration
How long the error overlay takes to fade in and out.
public float fadeDuration
Field Value
- float
Default is 0.25 seconds.
Methods
CloseErrorOverlay()
Closes the error overlay, called by its Understood button.
public void CloseErrorOverlay()