void Awake() { m_Inst = this; m_objMainUI = transform.Find("").gameObject; DBMgr.InitInst(); DBMgr.GetInst().OpenConnection(); }
public static void InitInst() { if (m_Inst == null) { m_Inst = new ChipMainMgr(); } }