private void Update() { if (!isConfigure) { return; } var worldPosition = _inputAdapter.GetDirection(); movementController.MovePointTo(worldPosition); if (_inputAdapter.GetButton("Fire")) { weaponController.TryShoot(); } }
private void Update() { logicShooting.IsPlayerFire(input.GetButton("Fire"), GameObject.FindGameObjectsWithTag("BalaPlayer").Length); }