上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页
摘要: 触摸交互案例 Input.GetTouch(0).deltaPosition;//获取触摸滑动增量float num = Input... 阅读全文
posted @ 2022-06-22 18:04 哒哒哒~~~ 阅读(365) 评论(0) 推荐(0)
摘要: TexstureType为默认类型 勾选 Alpha from GrayScale 勾选 Alpha Is Transparent ... 阅读全文
posted @ 2022-06-22 18:04 哒哒哒~~~ 阅读(978) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;us... 阅读全文
posted @ 2022-06-22 18:04 哒哒哒~~~ 阅读(56) 评论(0) 推荐(0)
摘要: 原文链接 unity 自带的音频加载类仅支持wav、ogg格式的音频文件,当你拿到一堆mp3格式的文件时,你会选择哪种处理方式。 1... 阅读全文
posted @ 2022-06-22 18:04 哒哒哒~~~ 阅读(689) 评论(0) 推荐(0)
摘要: 回顾unity 1.新建物理材质2.球球ui上加这两个组件3.地面加同样的组件 1.新建物理材质 物理材质中有两个参数,F... 阅读全文
posted @ 2022-06-22 18:04 哒哒哒~~~ 阅读(422) 评论(0) 推荐(0)
摘要: 这里写自定义目录标题 时分秒 时分秒 public string FormatTime(int totalSeconds) ... 阅读全文
posted @ 2022-06-22 18:04 哒哒哒~~~ 阅读(315) 评论(0) 推荐(0)
摘要: using System.Collections;using System.Collections.Generic;using Un... 阅读全文
posted @ 2022-06-22 18:04 哒哒哒~~~ 阅读(322) 评论(0) 推荐(0)
摘要: using UnityEngine;using System.Collections;using UnityEngine.UI;pu... 阅读全文
posted @ 2022-06-22 18:04 哒哒哒~~~ 阅读(408) 评论(0) 推荐(0)
摘要: //1. Transparent//2. Rim//3. Intersection HighlightShader "Kaima/D... 阅读全文
posted @ 2022-06-22 18:04 哒哒哒~~~ 阅读(144) 评论(0) 推荐(0)
摘要: unity自带的mask组件很low,会有明显的锯齿感,而用shader可以在大多数情况下避免这种现象 如下图,左侧为unity自带... 阅读全文
posted @ 2022-06-22 18:04 哒哒哒~~~ 阅读(1273) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页