Global Game Jam 2021
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
449 B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.InputSystem;
  5. public class PlayerDataHolder : InputBehaviour
  6. {
  7. public void AddScore(int value)
  8. {
  9. m_data.Score += value;
  10. }
  11. public override void RegisterInput(PlayerInput playerInput)
  12. {
  13. //do nothing
  14. }
  15. public override void UnregisterInput(PlayerInput playerInput)
  16. {
  17. //do nothing
  18. }
  19. }