private void Update()
        {
            if (!isConfigure)
            {
                return;
            }

            var worldPosition = _inputAdapter.GetDirection();

            movementController.MovePointTo(worldPosition);
            if (_inputAdapter.GetButton("Fire"))
            {
                weaponController.TryShoot();
            }
        }
예제 #2
0
 private void Update()
 {
     logicShooting.IsPlayerFire(input.GetButton("Fire"), GameObject.FindGameObjectsWithTag("BalaPlayer").Length);
 }