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