Beispiel #1
0
    void Awake()
    {
        if (mInstance == null)
        {
            mInstance = this;
        }

        UILabel[] popLabels = popUpMessage.GetComponentsInChildren <UILabel>(true);
        mPopUpMessageLabel = popLabels[0];
    }
Beispiel #2
0
    void Awake()
    {
        if (mInstance == null)
        {
            mInstance = this;
        }

        UILabel[] popLabels = popUpMessage.GetComponentsInChildren <UILabel>(true);
        mPopUpMessageLabel = popLabels[0];

        if (LevelController.isTimeTrial)
        {
            timeLabel.gameObject.SetActive(true);
            lifeCountLabel.gameObject.SetActive(false);
        }
        else if (SlotInfo.gameMode != SlotInfo.GameMode.Hardcore)
        {
            lifeCountLabel.gameObject.SetActive(false);
        }
    }