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

31 lines
536 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 sceneId;
public int Num = 0;
// Start is called before the first frame update
void Start()
{
}
public void SetInfo(string s)
{
personnelNum.text = s;
}
// Update is called once per frame
void Update()
{
}
}