Exemple #1
0
        /* Functions */

        private void Awake()
        {
            this.mHitList     = this.GetComponent <JCS_HitListEvent>();
            this.mDestroyAnim = this.GetComponent <JCS_AnimPool>();

            this.mDestroyObjectWithTime = this.GetComponent <JCS_DestroyObjectWithTime>();
        }
Exemple #2
0
        //----------------------
        // Protected Variables

        //========================================
        //      setter / getter
        //------------------------------

        //========================================
        //      Unity's function
        //------------------------------
        private void Awake()
        {
            this.mSoundPlayer = this.GetComponent <JCS_SoundPlayer>();
            this.mSoundPool   = this.GetComponent <JCS_SoundPool>();
            this.mAnimPool    = this.GetComponent <JCS_AnimPool>();

            this.mAnimator = this.GetComponent <Animator>();
        }
Exemple #3
0
        /* Functions */

        protected override void Awake()
        {
            base.Awake();

            mAnimPoolSupAnim = this.GetComponent <JCS_AnimPool>();
        }