C# Class EscapeEvent, RoverGame

Escape or Back event
Inheritance: MonoBehaviour
Mostrar archivo Open project: Stumpstump/RoverGame Class Usage Examples

Public Properties

Property Type Description
leaveTheApplication bool
sceneName string

Public Methods

Method Description
OnEscapeClick ( ) : void

On Escape click event.

Update ( ) : void

Private Methods

Method Description
LoadSceneAsync ( ) : IEnumerator

Loads the scene Async.

Method Details

OnEscapeClick() public method

On Escape click event.
public OnEscapeClick ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

leaveTheApplication public_oe property

Whether to leave the application on escape click.
public bool leaveTheApplication
return bool

sceneName public_oe property

The name of the scene to be loaded.
public string sceneName
return string