_xiaofang/xiaofang/Assets/Script/UI/PersonnelItem.cs

34 lines
619 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PersonnelItem : MonoBehaviour
{
public Text sceneText;
public Image personnelImage;
public Text personnelNum;
public int npcId;
public int sceneId;
public int Num = 0;
public int NpcNum = 0;
public int isHere;
// Start is called before the first frame update
void Start()
{
}
public void SetInfo(string s)
{
personnelNum.text = s.ToString();
}
// Update is called once per frame
void Update()
{
}
}