C# Class FairyGUI.GearBase

Show file Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Properties

Property Type Description
delay float
disableAllTweenEffect bool
easeType Ease
tween bool
tweenTime float

Protected Properties

Property Type Description
_controller FairyGUI.Controller
_owner GObject

Public Methods

Method Description
Apply ( ) : void

Call when controller active page changed.

GearBase ( GObject owner ) : DG.Tweening
Setup ( XML xml ) : void
UpdateFromRelations ( float dx, float dy ) : void
UpdateState ( ) : void

Call when object's properties changed.

Protected Methods

Method Description
AddStatus ( string pageId, string value ) : void
Init ( ) : void

Method Details

AddStatus() protected abstract method

protected abstract AddStatus ( string pageId, string value ) : void
pageId string
value string
return void

Apply() public abstract method

Call when controller active page changed.
public abstract Apply ( ) : void
return void

GearBase() public method

public GearBase ( GObject owner ) : DG.Tweening
owner GObject
return DG.Tweening

Init() protected abstract method

protected abstract Init ( ) : void
return void

Setup() public method

public Setup ( XML xml ) : void
xml FairyGUI.Utils.XML
return void

UpdateFromRelations() public method

public UpdateFromRelations ( float dx, float dy ) : void
dx float
dy float
return void

UpdateState() public abstract method

Call when object's properties changed.
public abstract UpdateState ( ) : void
return void

Property Details

_controller protected property

protected Controller,FairyGUI _controller
return FairyGUI.Controller

_owner protected property

protected GObject,FairyGUI _owner
return GObject

delay public property

Tween delay in seconds.
public float delay
return float

disableAllTweenEffect public static property

public static bool disableAllTweenEffect
return bool

easeType public property

Ease type.
public Ease easeType
return Ease

tween public property

Use tween to apply change.
public bool tween
return bool

tweenTime public property

Tween duration in seconds.
public float tweenTime
return float