09 2021 档案

摘要:代码如下: using System.Collections; using System.Collections.Generic; using UnityEngine; public class FeiXian : MonoBehaviour { public Transform pos0; //位 阅读全文
posted @ 2021-09-29 10:44 剑起苍穹 阅读(439) 评论(0) 推荐(0) 编辑
摘要:简单记录一下 效果展示如下 Demo链接: 链接:https://pan.baidu.com/s/1mNKF1RfrmD8Hzo4gmvkcAg 提取码:aao2 阅读全文
posted @ 2021-09-28 14:29 剑起苍穹 阅读(186) 评论(0) 推荐(0) 编辑
摘要:1.问题 使用videoplayer播放视频,切换视频的时候会显示上一个视频的最后一帧 解决办法 videoplayer用了targenTexture ,释放一下视频,感觉是有缓存, 可以在视频关闭的时候加入下列代码 public VideoPlayer vidoPlayer; public voi 阅读全文
posted @ 2021-09-18 10:36 剑起苍穹 阅读(1302) 评论(0) 推荐(0) 编辑
摘要:退出系统的时候会弹出来,ALT+f4也可以弹出来 直接上代码吧 using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using System; using 阅读全文
posted @ 2021-09-15 14:32 剑起苍穹 阅读(409) 评论(0) 推荐(0) 编辑
摘要:1.先上效果图 这是 一个摄像头的模型,线框的颜色是可以修改的, 下面是插件的链接:插件下载 阅读全文
posted @ 2021-09-13 17:28 剑起苍穹 阅读(828) 评论(0) 推荐(0) 编辑
摘要:1. UMP插件下载地址: https://download.csdn.net/download/qq_42603590/21840947 下载导入即可,里面有demo可学习 首先贴一下海康的rtsp协议地址: rtsp://[username]:[password]@[ip]:[port]/[co 阅读全文
posted @ 2021-09-10 17:31 剑起苍穹 阅读(5742) 评论(0) 推荐(0) 编辑
摘要:简单记录一下 1. 物体是这样的 子物体一个开启两个关闭 (孙物体是全部关闭的) 遍历所有的子物体以及孙物体,并且遍历包含本身 foreach (var item in transform.GetComponentsInChildren<Transform>()) { Debug.Log(item. 阅读全文
posted @ 2021-09-06 12:43 剑起苍穹 阅读(958) 评论(0) 推荐(0) 编辑

/*鼠标点击特效*/
点击右上角即可分享
微信分享提示