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

2022年6月8日

Unity 不规则按钮点击

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

posted @ 2022-06-08 09:59 zqiang0803 阅读(36) 评论(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 阅读(55) 评论(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 阅读(406) 评论(0) 推荐(0)

2022年5月5日

Unity 沿Y轴拖动 移动UI

摘要: Vector3 pos = sender. transform.localPosition;//pos并非引用。 pos.y += delta.y; sender.transform.localPosition = pos; 阅读全文

posted @ 2022-05-05 16:28 zqiang0803 阅读(140) 评论(0) 推荐(0)

Unity 挤压四周效果

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

posted @ 2022-05-05 14:13 zqiang0803 阅读(204) 评论(0) 推荐(0)

2022年4月7日

as3.0 电子相册

摘要: package { import flash.display.Sprite; import flash.events.Event; import flash.net.URLRequest; import flash.net.URLLoader; import flash.display.Bitmap 阅读全文

posted @ 2022-04-07 15:26 zqiang0803 阅读(78) 评论(0) 推荐(0)

2022年4月2日

Unity Book-Page Curl Pro(其一用法)

摘要: 1.点击最右边红框,前两个红框里面的内容会自动增加,下面有给新增加的Page自动添加图片功能 2.右下角的地方觉得按钮是否执行 using BOOKPRO; using System.Collections; using System.Collections.Generic; using Unity 阅读全文

posted @ 2022-04-02 15:21 zqiang0803 阅读(809) 评论(0) 推荐(0)

2022年3月28日

UnityWebRequest 本地加载图片

摘要: string filePath = Application.streamingAssetsPath + "/证书/a4证书"+ str+".png"; print(filePath); IEnumerator GetTexture(string url) { UnityWebRequest uwr 阅读全文

posted @ 2022-03-28 13:46 zqiang0803 阅读(846) 评论(0) 推荐(0)

2022年3月15日

Unity 2017版本和2020版本遇到的一个坑

摘要: // 添加人物 void addPeople() { string filePath = Application.streamingAssetsPath + "/Pic/榜样的力量/人物"; DirectoryInfo direction = new DirectoryInfo(filePath); 阅读全文

posted @ 2022-03-15 09:40 zqiang0803 阅读(142) 评论(0) 推荐(0)

Unity Lambda朗姆达 =>一种运算方式

摘要: OnComplete(() => { boo = true; stepNum++; } //相当于 void OnComplete(){ boo = true; stepNum++; } 阅读全文

posted @ 2022-03-15 09:36 zqiang0803 阅读(153) 评论(0) 推荐(0)

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

导航