コード例 #1
0
    /** 更新UI */
    public void UpdateUI()
    {
        UITweener position = buttonExChangeShop.GetComponentInChildren <TweenPosition>();
        UITweener rotation = buttonExChangeShop.GetComponentInChildren <TweenRotation>();

        StartCoroutine(Utils.DelayRun(() => {
            position.enabled = false;
            rotation.enabled = false;
        }, 2.5f));

        if (flyContentPoint.transform.childCount > 0)
        {
            Utils.RemoveAllChild(flyContentPoint.transform);
        }
        if (currentTapIndex == StarSoulConfigManager.HUNT_MONEY_TYPE)
        {
            setCurrentNebulaIndex(StarSoulManager.Instance.getHuntQuality());
        }
        updateTapContent();
        tapContent.resetTap();
        tapContent.changeTapPage(tapContent.tapButtonList [currentTapIndex]);
        updateAwardContent(StorageManagerment.Instance.getAllHuntStarSoul());
        updateLabelTextUI();
        //showAward ();
        showIntegralRankLabel();
    }