C# Class NotesLogic, Hellbound

Notes logic. This scirpt handles the printing of text to the small paper notes that can be found throughout the game. The notes are displayed as UISprites with a UILabel ontop of them. Created by Simon Jonasson
Inheritance: MonoBehaviour
Datei anzeigen Open project: Backman/Hellbound Class Usage Examples

Public Properties

Property Type Description
m_ArrowDown UISprite,
m_ArrowUp UISprite,

Public Methods

Method Description
Awake ( ) : void
doneTweening ( ) : void
showNote ( MyGUI, noteSettings ) : void

Private Methods

Method Description
awaitInput ( string button ) : IEnumerator
showNote_CR ( MyGUI, noteSettings ) : IEnumerator

Tweens the note sprite upwards, displays the text and then waits for the user to press "Use" do hide the note

Method Details

Awake() public method

public Awake ( ) : void
return void

doneTweening() public method

public doneTweening ( ) : void
return void

showNote() public method

public showNote ( MyGUI, noteSettings ) : void
noteSettings MyGUI,
return void

Property Details

m_ArrowDown public_oe property

public UISprite, m_ArrowDown
return UISprite,

m_ArrowUp public_oe property

public UISprite, m_ArrowUp
return UISprite,