NewN_UAVPlane/Assets/Zion/Scripts/Adam/Components/DeviceBtnItem.cs

31 lines
500 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DeviceBtnItem : MonoBehaviour
{
public Button selfBtn;
public string id;
public string selfName;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void SetInfo(string _id, string _selfName)
{
id = _id;
selfName = _selfName;
}
}