C# Class ModleLayer, UnityFramework

Inheritance: MonoBehaviour, ITemplatable
Show file Open project: meta-42/uEasyKit Class Usage Examples

Public Properties

Property Type Description
Templates UITemplates

Public Methods

Method Description
Close ( int index ) : void

关闭一个模态层

GetRenderOrder ( int index ) : int
Open ( MonoBehaviour parent, Sprite sprite = null, Color color = null ) : int

打开一个模态层

SetRenderOrder ( int index, int order ) : void

Private Methods

Method Description
CreateTemplate ( ) : void

Method Details

Close() public static method

关闭一个模态层
public static Close ( int index ) : void
index int
return void

GetRenderOrder() public static method

public static GetRenderOrder ( int index ) : int
index int
return int

Open() public static method

打开一个模态层
public static Open ( MonoBehaviour parent, Sprite sprite = null, Color color = null ) : int
parent MonoBehaviour
sprite Sprite
color Color
return int

SetRenderOrder() public static method

public static SetRenderOrder ( int index, int order ) : void
index int
order int
return void

Property Details

Templates public static property

public static UITemplates Templates
return UITemplates