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>(); }
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>(); }
private void Start() { motionAnimControll = transform.GetComponentInChildren <MotionAnimControll>(); }