C# Class Fungus.SaveMenu

A singleton game object which displays a simple UI for the save system.
Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: snozbot/fungus Class Usage Examples

Protected Properties

Свойство Type Description
clickAudioSource UnityEngine.AudioSource
fadeTween LTDescr
instance SaveMenu
saveMenuActive bool

Méthodes publiques

Méthode Description
FastForward ( ) : void

Handler function called when the Fast Forward button is pressed.

Load ( ) : void

Handler function called when the Load button is pressed.

Restart ( ) : void

Handler function called when the Restart button is pressed.

Rewind ( ) : void

Handler function called when the Rewind button is pressed.

Save ( ) : void

Handler function called when the Save button is pressed.

ToggleSaveMenu ( ) : void

Toggles the expanded / collapsed state of the save menu. Uses a tween to fade the menu UI in and out.

Méthodes protégées

Méthode Description
Awake ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnSavePointAdded ( string savePointKey, string savePointDescription ) : void
PlayClickSound ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

FastForward() public méthode

Handler function called when the Fast Forward button is pressed.
public FastForward ( ) : void
Résultat void

Load() public méthode

Handler function called when the Load button is pressed.
public Load ( ) : void
Résultat void

OnDisable() protected méthode

protected OnDisable ( ) : void
Résultat void

OnEnable() protected méthode

protected OnEnable ( ) : void
Résultat void

OnSavePointAdded() protected méthode

protected OnSavePointAdded ( string savePointKey, string savePointDescription ) : void
savePointKey string
savePointDescription string
Résultat void

PlayClickSound() protected méthode

protected PlayClickSound ( ) : void
Résultat void

Restart() public méthode

Handler function called when the Restart button is pressed.
public Restart ( ) : void
Résultat void

Rewind() public méthode

Handler function called when the Rewind button is pressed.
public Rewind ( ) : void
Résultat void

Save() public méthode

Handler function called when the Save button is pressed.
public Save ( ) : void
Résultat void

Start() protected méthode

protected Start ( ) : void
Résultat void

ToggleSaveMenu() public méthode

Toggles the expanded / collapsed state of the save menu. Uses a tween to fade the menu UI in and out.
public ToggleSaveMenu ( ) : void
Résultat void

Update() protected méthode

protected Update ( ) : void
Résultat void

Property Details

clickAudioSource protected_oe property

protected AudioSource,UnityEngine clickAudioSource
Résultat UnityEngine.AudioSource

fadeTween protected_oe property

protected LTDescr fadeTween
Résultat LTDescr

instance protected_oe static_oe property

protected static SaveMenu,Fungus instance
Résultat SaveMenu

saveMenuActive protected_oe static_oe property

protected static bool saveMenuActive
Résultat bool