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

2021年11月22日

.bat 3秒后打开相对路径1.vbs

摘要: @echo off start http://118.31.226.121/#/ping -n 3 127.0.0.1 set p="%~dp0\1.vbs"start "" %p% 阅读全文

posted @ 2021-11-22 09:09 zqiang0803 阅读(42) 评论(0) 推荐(0) 编辑

2021年9月8日

unity 加载视频可以后台替换

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

posted @ 2021-09-08 14:48 zqiang0803 阅读(191) 评论(0) 推荐(0) 编辑

unity 切换视频的时候清理画面

摘要: VideoPlayer myVid = myRawImage.GetComponent<VideoPlayer>(); myVid.targetTexture.Release() 阅读全文

posted @ 2021-09-08 11:01 zqiang0803 阅读(283) 评论(0) 推荐(0) 编辑

2021年8月16日

as3.0加载swf后占内存越来越大,清理一下内存即可

摘要: loader.unload() 阅读全文

posted @ 2021-08-16 11:14 zqiang0803 阅读(54) 评论(0) 推荐(0) 编辑

2021年6月28日

as3.0 AIR 获取文件夹里面的图片、文档。删除文件夹里的图片和文档

摘要: var directory: File = new File(); directory.url = "file:///D:/MuLu/" var contents: Array = directory.getDirectoryListing(); for (var i: uint = 0; i < 阅读全文

posted @ 2021-06-28 17:28 zqiang0803 阅读(191) 评论(0) 推荐(0) 编辑

2021年5月24日

as3.0加载图片,设置不失真

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

posted @ 2021-05-24 16:31 zqiang0803 阅读(109) 评论(0) 推荐(0) 编辑

2021年5月11日

unity 字体设置

摘要: //字体居中 sunOBJ.GetComponent<Text>().alignment = TextAnchor.MiddleCenter; //字体30号 sunOBJ.GetComponent<Text>().fontSize = 30; //字体颜色 sunOBJ.GetComponent< 阅读全文

posted @ 2021-05-11 09:59 zqiang0803 阅读(364) 评论(0) 推荐(0) 编辑

2021年4月27日

Unity 拖动条里面的按钮可以点击

摘要: Button btn = this.GetComponent<Button>(); btn.onClick.AddListener(onExp); 阅读全文

posted @ 2021-04-27 10:51 zqiang0803 阅读(96) 评论(0) 推荐(0) 编辑

Unity 固定高度等比放大宽度

摘要: imgae =transform.GetComponent<Image>(); imgae.preserveAspect = true; float imageH = imgae.transform.parent .GetComponent<RectTransform>().sizeDelta.y; 阅读全文

posted @ 2021-04-27 10:49 zqiang0803 阅读(398) 评论(0) 推荐(0) 编辑

2021年4月26日

vbs 切换浏览器中的窗口

摘要: Set objShell = CreateObject("Wscript.Shell") objShell.SendKeys "^1" 阅读全文

posted @ 2021-04-26 09:46 zqiang0803 阅读(335) 评论(0) 推荐(0) 编辑

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

导航