C# Class Sol.Menu

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: Stumpstump/RoverGame

Public Properties

Property Type Description
clickButtonEffect UnityEngine.AudioClip
closeEffect UnityEngine.AudioClip
openEffect UnityEngine.AudioClip
root UnityEngine.GameObject
stopsMovement bool
useTransitionEffect bool

Protected Properties

Property Type Description
cachedSoundManager SoundManager
isActive bool
menuFadeTime float

Public Methods

Method Description
ClickButton ( ) : bool

Process clicked button

Close ( ) : void

Close the menu

Open ( ) : void

Open the menu

Protected Methods

Method Description
FadeMenu ( CanvasGroup cg, float from, float to, bool close = false ) : IEnumerator

Fade menu in and out

Method Details

ClickButton() public method

Process clicked button
public ClickButton ( ) : bool
return bool

Close() public method

Close the menu
public Close ( ) : void
return void

FadeMenu() protected method

Fade menu in and out
protected FadeMenu ( CanvasGroup cg, float from, float to, bool close = false ) : IEnumerator
cg UnityEngine.CanvasGroup
from float
to float
close bool
return IEnumerator

Open() public method

Open the menu
public Open ( ) : void
return void

Property Details

cachedSoundManager protected_oe property

protected SoundManager,Sol cachedSoundManager
return SoundManager

clickButtonEffect public_oe property

public AudioClip,UnityEngine clickButtonEffect
return UnityEngine.AudioClip

closeEffect public_oe property

public AudioClip,UnityEngine closeEffect
return UnityEngine.AudioClip

isActive protected_oe property

protected bool isActive
return bool

menuFadeTime protected_oe property

protected float menuFadeTime
return float

openEffect public_oe property

public AudioClip,UnityEngine openEffect
return UnityEngine.AudioClip

root public_oe property

public GameObject,UnityEngine root
return UnityEngine.GameObject

stopsMovement public_oe property

public bool stopsMovement
return bool

useTransitionEffect public_oe property

public bool useTransitionEffect
return bool