29 lines
574 B
C#
29 lines
574 B
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
using UnityEngine.Events;
|
|||
|
|
|||
|
public class ItemInfo : MonoBehaviour
|
|||
|
{
|
|||
|
public string status;
|
|||
|
public int accountName;
|
|||
|
public UnityEvent statusChanged; // <20><><EFBFBD><EFBFBD>״̬<D7B4>仯<EFBFBD>¼<EFBFBD>
|
|||
|
|
|||
|
|
|||
|
// Start is called before the first frame update
|
|||
|
void Start()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
public void SetStatus(string newStatus)
|
|||
|
{
|
|||
|
status = newStatus;
|
|||
|
statusChanged.Invoke(); // <20><>״̬<D7B4>ı<EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD>
|
|||
|
}
|
|||
|
// Update is called once per frame
|
|||
|
void Update()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
}
|