示例#1
0
    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();
    }
示例#2
0
    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();
    }