Esempio n. 1
0
 void Update()
 {
     if (Input.GetMouseButton(0) && _playerAttributes.CanAttack())
     {
         Attack();
         _playerAttributes.Attack();
     }
 }