-
Notifications
You must be signed in to change notification settings - Fork 24
Scripts.PlayerDeath
Wesley Haws edited this page Jan 1, 2017
·
1 revision
##Scripts - PlayerDeath
###What does this do?
Fades in the player death screen and UI elements when the player's health reachs 0.
###Who/What is this for?
Root GUI Gameobject only.
###Setup
Parameter | Type | Description |
---|---|---|
Player Dead | bool | For debugging only. Disable/Enable death UI element. |
Parent Object | GameObject | Gameobject holding all of the Death UI elements. |
Background | RawImage | Background for death screen. |
Title | UIText | UI element holding the title for the death screen. |
Load Save | UIText | UI element for the load save button. |
Reload Level | UIText | UI element for reloading the level button. |
Quit | UIText | UI element that quits the game |
Gui Fade Speed | int | How fast the GUI will fade in. |
The following is a list of github repositories that made all of this possible:
delta patches: https://github.com/OctopusDeploy/Octodiff
.net 4 implemented in Monodevelop: https://github.com/mono/mono
Tuples In Unity: https://gist.github.com/michaelbartnett/5652076
Octodiff: https://github.com/OctopusDeploy/Octodiff
Input Manager: https://github.com/daemon3000/InputManager