C# Class FairyGUI.GMovieClip

GMovieClip class.
Inheritance: GObject, IAnimationGear, IColorGear
Show file Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Methods

Method Description
ConstructFromResource ( ) : void
GMovieClip ( ) : FairyGUI.Utils
SetPlaySettings ( int start, int end, int times, int endAt ) : void

Play from the start to end, repeat times, set to endAt on complete. 从start帧开始,播放到end帧(-1表示结尾),重复times次(0表示无限循环),循环结束后,停止在endAt帧(-1表示参数end)

Setup_BeforeAdd ( XML xml ) : void

Protected Methods

Method Description
CreateDisplayObject ( ) : void

Method Details

ConstructFromResource() public method

public ConstructFromResource ( ) : void
return void

CreateDisplayObject() protected method

protected CreateDisplayObject ( ) : void
return void

GMovieClip() public method

public GMovieClip ( ) : FairyGUI.Utils
return FairyGUI.Utils

SetPlaySettings() public method

Play from the start to end, repeat times, set to endAt on complete. 从start帧开始,播放到end帧(-1表示结尾),重复times次(0表示无限循环),循环结束后,停止在endAt帧(-1表示参数end)
public SetPlaySettings ( int start, int end, int times, int endAt ) : void
start int Start frame
end int End frame. -1 indicates the last frame.
times int Repeat times. 0 indicates infinite loop.
endAt int Stop frame. -1 indicates to equal to the end parameter.
return void

Setup_BeforeAdd() public method

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