03 2023 档案

摘要:首先制作两个显示效果,一个是未被选中时的物件(Visual),一个是被选中时的物件(Focused)。 然后将这两个gameObject挂载到父节点上。创建C#代码CounterFocused添加为父节点的组件。 public class CounterFocused : MonoBehaviour 阅读全文
posted @ 2023-03-30 21:20 dewxin 阅读(303) 评论(0) 推荐(0) 编辑
摘要:Slerp能根据两个向量进行球状(Spherically)插值,因此可以用来模拟物品的旋转。 transform.forward = Vector3.Slerp(transform.forward, moveDir, Time.deltaTime * rotateSpeed); 但这样导致的结果是旋 阅读全文
posted @ 2023-03-21 04:38 dewxin 阅读(289) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_34561903/article/details/120590447 https://blog.csdn.net/qq_38493448/article/details/104007711 前言 网游加速器是针对个人用户快速连接网游服务器的一种服务。 阅读全文
posted @ 2023-03-19 19:19 dewxin 阅读(1629) 评论(0) 推荐(0) 编辑
摘要:快速实践 配置InputAction 右键点击工程(project)面板空白处,弹出菜单栏,选择Create项,进入二次菜单,选择底下的Input Actions。 将其命名为InputSystemAsset。双击打开。 创建一个新的Action Maps和Action,将action命名为Move 阅读全文
posted @ 2023-03-16 23:02 dewxin 阅读(929) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示