上一页 1 2 3 4 5 6 7 8 ··· 18 下一页

2022年9月1日

FairyGUI窗口拖动,关闭,加载图片

摘要: 1.在FairyGUI软件里面制作好窗口window的格式,按照官网上的来 关闭按钮:closeButton、拖动范围:dragArea、 步骤: 1.新建一个空组件 2.再建一个空组件命名为:frame 3.frame组件下面放 关闭按钮、拖动范围 4.把2放进1里面。 playerWindow 阅读全文

posted @ 2022-09-01 18:09 zqiang0803 阅读(217) 评论(0) 推荐(0) 编辑

2022年8月24日

AS3.0 画线的时候影片简介播放会卡

摘要: e.updateAfterEvent(); 这个是一直画线线条,线条是不卡了,但是影片简介会卡 阅读全文

posted @ 2022-08-24 14:33 zqiang0803 阅读(9) 评论(0) 推荐(0) 编辑

2022年8月4日

AS3.0 颜色渐变

摘要: package { import flash.display.*; import flash.display.Stage; import flash.display.Sprite; import flash.display.Graphics; import flash.display.Gradien 阅读全文

posted @ 2022-08-04 16:42 zqiang0803 阅读(61) 评论(0) 推荐(0) 编辑

2022年6月28日

unity 给当鼠标按下按钮的时候批量赋值

摘要: IEnumerator GetTextureStop(Transform myTf, List<string> myList) { for (int i = 0; i < myTf.childCount; i++) { UnityWebRequest uwr = UnityWebRequest.Ge 阅读全文

posted @ 2022-06-28 16:54 zqiang0803 阅读(104) 评论(0) 推荐(0) 编辑

2022年6月27日

Unity 发布Android时候读取 StreamingAssets 的路径

摘要: myList.Add("jar:file://" + Application.dataPath + "!/assets/GuanLiKeTi/" + transform.name + "/"+ pathStr + "/" + "a" + i + ".jpg"); 阅读全文

posted @ 2022-06-27 20:04 zqiang0803 阅读(488) 评论(0) 推荐(0) 编辑

2022年6月17日

Unity 批量动态添加图片,可后台替换

摘要: string filePath = Application.streamingAssetsPath + "/"+ str; if (Directory.Exists(filePath)) {//判断这个路径是否存在 DirectoryInfo direction = new DirectoryInf 阅读全文

posted @ 2022-06-17 17:21 zqiang0803 阅读(175) 评论(0) 推荐(0) 编辑

2022年6月14日

Unity 加载序列图

摘要: using UnityEngine; using UnityEngine.UI; public class FrameAnimatorPlayScript:MonoBehaviour { /// <summary> /// 序列帧帧数 /// </summary> private int _fram 阅读全文

posted @ 2022-06-14 11:03 zqiang0803 阅读(350) 评论(0) 推荐(0) 编辑

2022年6月8日

Unity 不规则按钮点击

摘要: GetComponent<Image>().alphaHitTestMinimumThreshold = 0.1f; 阅读全文

posted @ 2022-06-08 09:59 zqiang0803 阅读(26) 评论(0) 推荐(0) 编辑

2022年6月3日

AS3.0 班级姓名,用时,得分 按照顺序排序

摘要: var arr:Array=[{name:"d",core:10,times:1},{name:"a",core:20,times:1},{name:"d",core:30,times:7}] arr.push ({name:"3",core:50,times:3}) arr.sortOn(["ti 阅读全文

posted @ 2022-06-03 13:40 zqiang0803 阅读(30) 评论(0) 推荐(0) 编辑

2022年5月16日

Unity 算盘制作过程

摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; public class Operation: MonoBehaviour { public GameO 阅读全文

posted @ 2022-05-16 13:44 zqiang0803 阅读(352) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 18 下一页

导航