上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页

2021年4月24日

Unity 拖动条里面点击按钮不执行的解决办法

摘要: void Start() { Button btn = this.GetComponent<Button>(); btn.onClick.AddListener(OnClick); } private void OnClick() { explain = Main.StaticExplain; if 阅读全文

posted @ 2021-04-24 16:57 zqiang0803 阅读(210) 评论(0) 推荐(0) 编辑

2021年4月20日

Unity 图片自动识别尺寸

摘要: StartCoroutine(LoadUnitDatas()); public IEnumerator LoadUnitDatas() { yield return new WaitForEndOfFrame(); myScorllRect.gameObject.SetActive(true); m 阅读全文

posted @ 2021-04-20 17:19 zqiang0803 阅读(210) 评论(0) 推荐(0) 编辑

2021年4月9日

Unity 读取.Json内容

摘要: using System; using System.IO; using UnityEngine; public class ReadJson:MonoBehaviour { public static TestSetting test = new TestSetting(); //文件路径 pub 阅读全文

posted @ 2021-04-09 16:36 zqiang0803 阅读(86) 评论(0) 推荐(0) 编辑

2021年4月8日

as3.0 UDP

摘要: import flash.utils.ByteArray; import flash.net.DatagramSocket; var udpSocket:DatagramSocket = new DatagramSocket(); var bytes:ByteArray = new ByteArra 阅读全文

posted @ 2021-04-08 14:17 zqiang0803 阅读(204) 评论(0) 推荐(0) 编辑

2021年3月15日

as3.0 获取XML内容

摘要: public static function xmlFun() { flashXml = new XML(); xml_loader = new URLLoader(); xml_loader.load(new URLRequest("IP.xml")); xml_loader.addEventLi 阅读全文

posted @ 2021-03-15 11:13 zqiang0803 阅读(44) 评论(0) 推荐(0) 编辑

as3.0 获取本地IP

摘要: package { import flash.display.Sprite; import flash.net.InterfaceAddress; import flash.net.NetworkInfo; import flash.net.NetworkInterface; public clas 阅读全文

posted @ 2021-03-15 10:59 zqiang0803 阅读(177) 评论(0) 推荐(0) 编辑

2020年11月4日

.Dat 删除当前txt,并且创建ip4,保存到txt

摘要: del /f /s /q IP.txt ipconfig | find /I"IPv4">IP.txt 阅读全文

posted @ 2020-11-04 09:38 zqiang0803 阅读(54) 评论(0) 推荐(0) 编辑

Dat 延迟时间

摘要: ping -n 22 127.0.0.1 video.exe 延迟22秒后启动video.exe 阅读全文

posted @ 2020-11-04 09:34 zqiang0803 阅读(157) 评论(0) 推荐(0) 编辑

2020年10月30日

as3.0加载图片

摘要: package { import flash.display.MovieClip; import flash.net.URLRequest; import flash.display.Loader; import flash.events.MouseEvent; import flash.event 阅读全文

posted @ 2020-10-30 19:12 zqiang0803 阅读(173) 评论(0) 推荐(0) 编辑

2020年10月6日

unity 碰到UI不执行

摘要: if (!EventSystem.current.IsPointerOverGameObject()) 阅读全文

posted @ 2020-10-06 10:54 zqiang0803 阅读(222) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页

导航