摘要: 编写一个KeyCodeListener Playables 实现主要细节(使用到插件odin) 1.针对不同按键操作有不同应对方式:比如正常按下,长按,组合按键 2.将动画片段帧分为可输入帧范围和执行成功输入的可执行的帧范围 3.利用编辑器通过枚举控制编辑器属性显示隐藏。 [Serializable 阅读全文
posted @ 2021-02-03 21:44 wsfw 阅读(175) 评论(0) 推荐(0) 编辑
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShowCapsuleColider : MonoBehaviour { //画线用的材质球 Material li 阅读全文
posted @ 2021-02-03 15:20 wsfw 阅读(385) 评论(1) 推荐(0) 编辑
摘要: 原文地址: https://blog.csdn.net/amnrwlm8593/article/details/102253392/ Bounds bounds = GetComponent<BoxCollider>().bounds; Vector3 v3Center = bounds.cente 阅读全文
posted @ 2021-02-03 14:21 wsfw 阅读(245) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShowSphereColider : MonoBehaviour { //画线用的材质 阅读全文
posted @ 2021-02-03 14:10 wsfw 阅读(245) 评论(0) 推荐(0) 编辑