C# Class FairyGUI.GearBase

显示文件 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_oe property

protected Controller,FairyGUI _controller
return FairyGUI.Controller

_owner protected_oe property

protected GObject,FairyGUI _owner
return GObject

delay public_oe property

Tween delay in seconds.
public float delay
return float

disableAllTweenEffect public_oe static_oe property

public static bool disableAllTweenEffect
return bool

easeType public_oe property

Ease type.
public Ease easeType
return Ease

tween public_oe property

Use tween to apply change.
public bool tween
return bool

tweenTime public_oe property

Tween duration in seconds.
public float tweenTime
return float