예제 #1
0
        private void Start()
        {
            motionAnimControll    = this.GetComponentInChildren <MotionAnimControll>();
            guardControll         = this.GetComponent <GuardControll>();
            playerCancelProcesses = transform.GetComponentsInChildren <IPlayerCancelProcess>();

            rigid = this.GetComponent <Rigidbody>();
            motionAnimControll.ResponseStream.Subscribe(RecieveResponce);
            soundEffectControl = GetComponent <SoundEffectControl>();
        }
예제 #2
0
        protected virtual void Start()
        {
            rigid      = GetComponent <Rigidbody>();
            lookTarget = transform.Find("LookTarget");

            motionAnimControll = this.transform.GetComponentInChildren <MotionAnimControll>();

            motionAnimControll.ResponseStream
            .Where(n => this.IsActive)
            .Where(n => n == AnimResponce.JumpLaunch)
            .Subscribe(n => { Jump(); });
            movableAttacks = GetComponentsInChildren <IMovableAttack>();
        }
예제 #3
0
 private void Start()
 {
     motionAnimControll = transform.GetComponentInChildren <MotionAnimControll>();
 }