unity发送信息,不雅字屏蔽
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI;
public class Test : MonoBehaviour { Text text; Button btn; InputField inout; string temp; void Start () { temp = null; text = transform.GetChild(0).GetComponent
();
btn = transform.GetChild(1).GetComponent();
inout = transform.GetChild(2).GetComponent();
btn.onClick.AddListener(Send
共有 0 条评论