NG_/Assets/Scripts/Data/Entity/ChemicalCountData.cs
2024-12-13 19:40:05 +08:00

25 lines
523 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// 危化品库存
[Serializable]
public class ChemicalCountData
{
[SerializeField] private string chemicalName; // 危化品名称
[SerializeField] private int inventoryCount; // 危化品数量
public string ChemicalName
{
get => chemicalName;
set => chemicalName = value;
}
public int InventoryCount
{
get => inventoryCount;
set => inventoryCount = value;
}
}