forked from zxl/Frame
1
0
Fork 0
Frame/Assets/Scripts/Player/PlayerData.cs

17 lines
374 B
C#
Raw Normal View History

2024-04-03 14:38:44 +08:00
namespace Game.Player
{
2024-04-06 11:59:18 +08:00
[System.Serializable]
2024-04-03 14:38:44 +08:00
public class PlayerData
{
2024-04-03 17:46:56 +08:00
public string playerName;
2024-04-03 14:38:44 +08:00
public float jinbei;
public float hp;
2024-04-06 11:59:18 +08:00
public PlayerData(string playerName, float jinbei, float hp)
{
this.playerName = playerName;
this.jinbei = jinbei;
this.hp = hp;
}
2024-04-03 14:38:44 +08:00
}
}