using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.InputSystem;
|
|
|
|
public class PlayerDataHolder : InputBehaviour
|
|
{
|
|
|
|
|
|
|
|
public void AddScore(int value)
|
|
{
|
|
m_data.Score += value;
|
|
}
|
|
|
|
public override void RegisterInput(PlayerInput playerInput)
|
|
{
|
|
//do nothing
|
|
}
|
|
|
|
public override void UnregisterInput(PlayerInput playerInput)
|
|
{
|
|
//do nothing
|
|
}
|
|
|
|
}
|