27 lines
638 B
C#
27 lines
638 B
C#
using System.Collections;
|
||
using System.Collections.Generic;
|
||
using UnityEngine;
|
||
using UnityEngine.UI;
|
||
//============================================================
|
||
//支持中文,文件使用UTF-8编码
|
||
//@author YangHua
|
||
//@create 20230914
|
||
//@company QianHuo
|
||
//
|
||
//@description:
|
||
//============================================================
|
||
namespace Components
|
||
{
|
||
public class OptionItem : MonoBehaviour
|
||
{
|
||
public Text ID;
|
||
public Text info;
|
||
public Button selfBtn;
|
||
public void SetValue(string _id, string _info)
|
||
{
|
||
ID.text = _id;
|
||
info.text = _info;
|
||
}
|
||
}
|
||
}
|