WXMC/.svn/pristine/7b/7b68af10cc79ed3519cccb7a8ac47affc922928a.svn-base
2024-12-04 16:18:46 +08:00

75 lines
1.2 KiB
Plaintext

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PHomeInventoryItem : MonoBehaviour
{
[SerializeField]
protected string m_name;
public string Name
{
get
{
return m_name;
}
set
{
if (m_name != value)
{
m_name = value;
}
}
}
[SerializeField]
protected string m_desc;
public string Desc
{
get
{
return m_desc;
}
set
{
if (m_desc != value)
{
m_desc = value;
}
}
}
[SerializeField]
protected Sprite m_icon;
public Sprite Icon
{
get
{
return m_icon;
}
set
{
if (m_icon != value)
{
m_icon = value;
}
}
}
protected PHomeInventory m_inventory;
public PHomeInventory Inventory
{
get
{
return m_inventory;
}
set
{
if (m_inventory != value)
{
m_inventory = value;
}
}
}
}