Frame/Assets/Scripts/Player/PlayerData.cs

17 lines
374 B
C#

namespace Game.Player
{
[System.Serializable]
public class PlayerData
{
public string playerName;
public float jinbei;
public float hp;
public PlayerData(string playerName, float jinbei, float hp)
{
this.playerName = playerName;
this.jinbei = jinbei;
this.hp = hp;
}
}
}