using System; using UnityEngine; namespace DDD { [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; } } }