private void Awake() { AttackControll = this.GetComponent <AttackControll>(); moveCotrollControll3D = this.GetComponent <MoveCotroll3D>(); moveCotrollControll2D = this.GetComponent <MoveControll2D>(); DamageControll = this.GetComponent <DamageControll>(); guardControll = this.GetComponent <GuardControll>(); }
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>(); }