protected override void Awake() { _playerController = GetComponent<PlayerController>(); _playerController.UpgradeEvent += SetParameters; _buttonNameFire = _playerController.TypeItem + "_Fire"; fire = false; base.Awake(); }
protected override void Awake() { base.Awake(); _playerController = GetComponent<PlayerController>(); _playerController.UpgradeEvent += SetAnimationsLevel; _buttonNameHorizontal = _playerController.TypeItem + "_Horizontal"; _buttonNameVertical = _playerController.TypeItem + "_Vertical"; }