11 2019 档案

摘要:Unity中的透明效果之开启深度写入半透明效果 第一种 shader方式 Shader "Custom/Shadder" { Properties{ _Color("Color", Color) = (1,1,1,1) _MainTex("MainTex", 2D) = "white" {} _Al 阅读全文
posted @ 2019-11-29 11:02 剑起苍穹 阅读(11677) 评论(0) 推荐(0) 编辑
摘要:枚举ForceMode 的值: Force 添加一个可持续力到刚体,使用它的质量。 Acceleration 添加一个可持续加速度到刚体,忽略它的质量。 Impulse 添加一个瞬间冲击力到刚体,使用它的质量。 VelocityChange 添加一个瞬间速度变化给刚体,忽略它的质量。 Rigidbo 阅读全文
posted @ 2019-11-22 14:55 剑起苍穹 阅读(12096) 评论(0) 推荐(1) 编辑
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShaiFenJi : MonoBehaviour { public GameObject wuTi;//物体 pr 阅读全文
posted @ 2019-11-04 17:26 剑起苍穹 阅读(730) 评论(0) 推荐(0) 编辑

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