上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: 1. UMP插件下载地址: https://download.csdn.net/download/qq_42603590/21840947 下载导入即可,里面有demo可学习 首先贴一下海康的rtsp协议地址: rtsp://[username]:[password]@[ip]:[port]/[co 阅读全文
posted @ 2021-09-10 17:31 剑起苍穹 阅读(6451) 评论(0) 推荐(0)
摘要: 简单记录一下 1. 物体是这样的 子物体一个开启两个关闭 (孙物体是全部关闭的) 遍历所有的子物体以及孙物体,并且遍历包含本身 foreach (var item in transform.GetComponentsInChildren<Transform>()) { Debug.Log(item. 阅读全文
posted @ 2021-09-06 12:43 剑起苍穹 阅读(1002) 评论(0) 推荐(0)
摘要: 效果图: shader 代码 Shader "My/WaveDiffusion" { Properties { //shader放一张图片,图片需要与要显示模型上材质球上图片一致,不放没有效果, _MainTex("Texture", 2D) = "white" {} } SubShader { C 阅读全文
posted @ 2021-08-31 10:17 剑起苍穹 阅读(2898) 评论(5) 推荐(0)
摘要: 1.简单记录一下,不喜勿喷 首先下载DoTween插件 直接上代码,代码不多,好几个动画放一起,一起播放 using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; 阅读全文
posted @ 2021-08-25 11:04 剑起苍穹 阅读(609) 评论(0) 推荐(0)
摘要: 1.把脚本挂在text上调节颜色即可,废话不多说,直接上 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; /// <summary> /// ** 阅读全文
posted @ 2021-08-24 14:26 剑起苍穹 阅读(1032) 评论(0) 推荐(0)
摘要: 1.字典的类型 public class userscore { public List<string> fen; //分数 public List<string> time; //时间 } public Dictionary<string, userscore> DicScore = new Di 阅读全文
posted @ 2021-07-27 13:30 剑起苍穹 阅读(13930) 评论(0) 推荐(0)
摘要: 1.API GetSiblingIndex(); Gets the sibling index 直接挂到 四个按钮上 即可看到每一个按钮的索引 (也就是Canvas下面有几个子物体 索引从0开始) 代码: using System.Collections; using System.Collecti 阅读全文
posted @ 2021-07-26 13:30 剑起苍穹 阅读(2454) 评论(0) 推荐(0)
摘要: 代码挂在Text即可 第一种 在一行显示的字间距(换行会没有效果) using UnityEngine; using System.Collections; using UnityEngine.UI; using System; using System.Collections.Generic; / 阅读全文
posted @ 2021-07-09 11:15 剑起苍穹 阅读(1580) 评论(0) 推荐(0)
摘要: 本插件 XCharts 折线图 柱状图 插件下载链接 亲测可用 阅读全文
posted @ 2021-07-01 16:56 剑起苍穹 阅读(422) 评论(0) 推荐(0)
摘要: 代码如下: using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Unity 物体旋转到固定角度 /// </summary> public class Rot 阅读全文
posted @ 2021-07-01 16:35 剑起苍穹 阅读(4069) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
/*鼠标点击特效*/