Files
Cielonos/Packages/com.lunawolfstudios.scriptablesheets/Samples~/DeepInheritance/Scripts/Edibles/Macronutrients.cs

24 lines
567 B
C#
Raw Normal View History

2026-01-17 11:35:49 -05:00
using UnityEngine;
namespace LunaWolfStudios.ScriptableSheets.Samples.DeepInheritance
{
[System.Serializable]
public class Macronutrients
{
[Range(0, 1000)]
[SerializeField]
private float m_Carbohydrates;
public float Carbohydrates { get => m_Carbohydrates; set => m_Carbohydrates = value; }
[Range(0, 1000)]
[SerializeField]
private float m_Fat;
public float Fat { get => m_Fat; set => m_Fat = value; }
[Range(0, 1000)]
[SerializeField]
private float m_Protein;
public float Protein { get => m_Protein; set => m_Protein = value; }
}
}