private void Awake()
        {
            m_CanvasTween  = this.GetComponent <UITweenCanvasAlpha>();
            m_SoundManager = this.GetComponent <SoundManager>();
            SoundDataSetting soundData = Resources.Load("Sounds/Reward/ExpBar_SoundDataSetting") as SoundDataSetting;

            m_SoundManager.SetAudioClips(soundData.SoundDatas);
        }
Ejemplo n.º 2
0
        private void PrintGameTime()
        {
            m_BlackCardTween.OnTweenFinished -= PrintGameTime;
            float  gameTime = InGameRewardManager.Instance.GameDurationTime;
            string minutes  = Mathf.Floor(gameTime / 60).ToString("00");
            string seconds  = (gameTime % 60).ToString("00");

            m_GameTime.text = string.Format("Mission Time - {0}:{1}", minutes, seconds);
            UITweenCanvasAlpha tween = m_GameTime.GetComponent <UITweenCanvasAlpha>();

            tween.PlayForward();
        }
Ejemplo n.º 3
0
 private void Awake()
 {
     m_CanvasTween = this.GetComponent <UITweenCanvasAlpha>();
 }
 private void Awake()
 {
     m_CanvasTween  = this.GetComponent <UITweenCanvasAlpha>();
     m_EXPText.text = string.Format("Exp {0}", m_iCurrentNum);
 }