CapersProject/Assets/02.Scripts/ExpData.cs

26 lines
587 B
C#
Raw Normal View History

2024-10-08 06:13:52 +00:00
using System;
using UnityEngine;
namespace BlueWater
{
[Serializable]
public class ExpData
{
[field: SerializeField]
public int CurrentLevel { get; private set; }
[field: SerializeField]
public int StartExp { get; private set; }
[field: SerializeField]
public int AddedExp { get; private set; }
public ExpData(int currentLevel, int startExp, int addedExp)
{
CurrentLevel = currentLevel;
StartExp = startExp;
AddedExp = addedExp;
}
}
}