摘要:
给帧图片命名 添加动画 首先需要给 Player 添加 Animator 组件 然后创建 Animations/Player 文件夹,并在该文件夹下面添加 Animator Controller,起名叫 Player 然后把 Player 拖到 Animator 的 Controller 上面 打开 阅读全文
摘要:
物理环境监测代码 using System.Collections; using System.Collections.Generic; using UnityEngine; public class PhysicsCheck : MonoBehaviour { [Header("监测参数")] p 阅读全文
摘要:
InputAction 添加跳跃键 代码实现 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; usi 阅读全文
摘要:
代码实现 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; using UnityEngine.Scripting.APIUpda 阅读全文