/* Functions */

        private void Awake()
        {
#if TMP_PRO
            this.mTextMesh = this.GetComponent <TextMeshPro>();
#endif
            this.mTweenerHandler = this.GetComponent <JCS_TweenerHandler>();
            this.mFadeObject     = this.GetComponent <JCS_FadeObject>();
        }
示例#2
0
        /* Functions */

        private void Awake()
        {
            this.mTweenerHandler = this.GetComponent <JCS_TweenerHandler>();
            if (mSoundPlayer == null)
            {
                this.mSoundPlayer = this.GetComponent <JCS_SoundPlayer>();
            }
        }
        /* Functions */

        private void Awake()
        {
            this.mTweenerHandler = this.GetComponent <JCS_TweenerHandler>();
            if (mSoundPlayer == null)
            {
                this.mSoundPlayer = this.GetComponent <JCS_SoundPlayer>();
            }

            this.mPanelRoot = this.GetComponentInParent <JCS_PanelRoot>();
        }