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

2022年10月19日

Unity IO 加载图片

摘要: using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using UnityEngine.UI; public class LoaderPic:MonoBehav 阅读全文

posted @ 2022-10-19 10:48 zqiang0803 阅读(77) 评论(0) 推荐(0)

2022年10月14日

Unity 在模型上展示标签UI

摘要: void Update() { this.transform.LookAt(Camera.main.transform); } 在主摄像机下设置一个子摄像机,主摄像机CullingMask去掉显示UI。子摄像机CullingMask只显示UI,并且ClearFlags选择Depth only。Dep 阅读全文

posted @ 2022-10-14 13:45 zqiang0803 阅读(301) 评论(0) 推荐(0)

2022年9月7日

Unity 巨坑 unity horizontal layout group 视频播放的初始化,视频会暂停

摘要: 初始状态的时候视频会暂停!! 阅读全文

posted @ 2022-09-07 15:20 zqiang0803 阅读(43) 评论(0) 推荐(0)

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 阅读(303) 评论(0) 推荐(0)

2022年8月24日

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

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

posted @ 2022-08-24 14:33 zqiang0803 阅读(17) 评论(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 阅读(78) 评论(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 阅读(112) 评论(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 阅读(524) 评论(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 阅读(207) 评论(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 阅读(405) 评论(0) 推荐(0)

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

导航