C# Class InteractiveButton

Inheritance: MonoBehaviour
Mostrar archivo Open project: mezosaurus/eae-project Class Usage Examples

Public Properties

Property Type Description
defaultImage UnityEngine.Texture2D
fadeTime float
font Font
selected bool
sound UnityEngine.AudioClip
text string

Public Methods

Method Description
Awake ( ) : void
ClickButton ( ) : void
Fade ( ) : void
Hover ( ) : void
OnGUI ( ) : void
Reveal ( ) : void
SetClickAction ( ButtonClickFunction i_function ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

ClickButton() public method

public ClickButton ( ) : void
return void

Fade() public method

public Fade ( ) : void
return void

Hover() public method

public Hover ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

Reveal() public method

public Reveal ( ) : void
return void

SetClickAction() public method

public SetClickAction ( ButtonClickFunction i_function ) : void
i_function ButtonClickFunction
return void

Property Details

defaultImage public_oe property

public Texture2D,UnityEngine defaultImage
return UnityEngine.Texture2D

fadeTime public_oe property

public float fadeTime
return float

font public_oe property

public Font font
return Font

selected public_oe property

public bool selected
return bool

sound public_oe property

public AudioClip,UnityEngine sound
return UnityEngine.AudioClip

text public_oe property

public string text
return string