C# Class Assets.Scripts.Scenes.Game.BubbleController

Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: maximecharron/GLO-3002-Frima

Public Properties

Property Type Description
Duration float
canvas UnityEngine.Canvas

Public Methods

Method Description
Show ( Vector2 position, string value, Color textColor = null, bool flyUp = true ) : void

Private Methods

Method Description
AnimatePosition ( ) : void
AnimateScaling ( ) : void
InitPositioning ( Vector2 position, bool flyUp ) : void
InitText ( string value, Color textColor = null ) : void
Update ( ) : void

Method Details

Show() public method

public Show ( Vector2 position, string value, Color textColor = null, bool flyUp = true ) : void
position UnityEngine.Vector2
value string
textColor UnityEngine.Color
flyUp bool
return void

Property Details

Duration public_oe property

public float Duration
return float

canvas public_oe property

public Canvas,UnityEngine canvas
return UnityEngine.Canvas