diff options
Diffstat (limited to 'Client/Assets/Scripts/UICommon/XUIAtlas.cs')
-rw-r--r-- | Client/Assets/Scripts/UICommon/XUIAtlas.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/UICommon/XUIAtlas.cs b/Client/Assets/Scripts/UICommon/XUIAtlas.cs new file mode 100644 index 00000000..d7291535 --- /dev/null +++ b/Client/Assets/Scripts/UICommon/XUIAtlas.cs @@ -0,0 +1,27 @@ +using UILib;
+using UnityEngine;
+
+
+public class XUIAtlas : MonoBehaviour, IXUIAtlas
+{
+ public UIAtlas atlas
+ {
+ get { return m_uiAtlas; }
+ }
+
+ void Awake()
+ {
+ m_uiAtlas = GetComponent<UIAtlas>();
+ if (null == m_uiAtlas)
+ {
+ Debug.LogError("null == m_uiAtlas");
+ }
+ }
+
+ void OnDisable()
+ {
+ m_uiAtlas = null;
+ }
+ private UIAtlas m_uiAtlas = null;
+}
+
|