Esempio n. 1
0
		protected override void Awake()
		{
			_playerController = GetComponent<PlayerController>();
			_playerController.UpgradeEvent += SetParameters;
			_buttonNameFire = _playerController.TypeItem + "_Fire";
            fire = false;
            base.Awake();
		}
Esempio n. 2
0
        protected override void Awake()
		{
			base.Awake();
            _playerController = GetComponent<PlayerController>();
			_playerController.UpgradeEvent += SetAnimationsLevel;

			_buttonNameHorizontal = _playerController.TypeItem + "_Horizontal";
			_buttonNameVertical = _playerController.TypeItem + "_Vertical";
		}