protected ShopLIst m_OpenList;//当前打开的界面 void Start() { PlayerData.Create(); consumableDatabase.Load(); AssetBundlesDatabaseHandler.Load(); #if UNITY_ANALYTICS AnalyticsEvent.StoreOpened(StoreType.Soft); #endif m_OpenList = itemList; itemList.Open(); }
void Start() { PlayerData.Create(); consumableDatabase.Load(); AssetBundlesDatabaseHandler.Load(); #if UNITY_ANALYTICS AnalyticsEvent.StoreOpened(StoreType.Soft); #endif #if !UNITY_EDITOR && !DEVELOPMENT_BUILD //Disable cheating on non dev build outside of the editor cheatButton.interactable = false; #else cheatButton.interactable = true; #endif m_OpenList = itemList; itemList.Open(); }