Inherits CrossLink.CoreMgr.
Inherited by CrossLink.HUDMgr.
|
override void | OnStateClear () |
|
Canvas | GetCanvas () |
|
void | SetCanvas (Canvas c) |
|
PanelBase | CreateUIButRemoveIfExist (string name) |
|
PanelBase | CreateUI (string name, Transform parent=null) |
|
PanelBase | GetPanel (string name) |
|
PanelBase | GetOrCreatePanel (string name) |
|
void | CloseOrCreatePanel (string name) |
|
bool | RemoveUI (PanelBase panel) |
|
bool | RemoveUI (string name) |
|
virtual void | OnInit () |
|
virtual void | OnRelease () |
|
|
static bool | IsOffScreen (Vector3 screenPos, float screenWidth, float screenHeight) |
|
static bool | ClampScreenPos (Vector3 screenPos, float screenWidth, float screenHeight, float border, out Vector3 pos, out float rot) |
|
|
static UIMgr | Instance = new UIMgr() |
|
static string | UIPath = "UI/" |
|
|
Dictionary< string, List< PanelBase > > | uiList = new Dictionary<string, List<PanelBase>>() |
|