Ejemplo n.º 1
0
        /* Functions */

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

            this.mDestroyObjectWithTime = this.GetComponent <JCS_DestroyObjectWithTime>();
        }
Ejemplo n.º 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>();
        }
Ejemplo n.º 3
0
        /* Functions */

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

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