void Back_OnClick() { this.dealloc(); if (_Instance != null) { _Instance = null; } }
public static void OpenUI(bool _isTianxia) { if (_Instance == null) { Object obj = PrefabLoader.loadFromPack("LS/pbLSRobIntroduct"); if (obj != null) { GameObject go = Instantiate(obj) as GameObject; if (go != null) { _Instance = go.GetComponent <UIRobIntroduct>(); RED.AddChild(go, DBUIController.mDBUIInstance._TopRoot); _Instance.m_isTianxia = _isTianxia; } } } }
public void QiangduoIntroduction() { UIRobIntroduct.OpenUI(false); }