Battle Talent  V11
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
CrossLink.QuadUIMgr Class Reference

Inherits CrossLink.CoreMgr.

Public Member Functions

override void OnStateClear ()
 
QuadBase CreateUIButRemoveIfExist (string name)
 
QuadBase CreateUI (string name, Transform parent=null)
 
QuadBase GetPanel (string name)
 
bool RemoveUI (QuadBase panel)
 
bool RemoveUI (string name)
 

Static Public Member Functions

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 Public Attributes

static QuadUIMgr Instance = new QuadUIMgr()
 
static string UIPath = "UI/Quad/"
 

Protected Attributes

Dictionary< string, List< QuadBase > > uiList = new Dictionary<string, List<QuadBase>>()