using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; public class Player : PlayerControl { /// /// 玩家刚体喵 /// Rigidbody2D m_rigidbody; /// /// 玩家初始化喵 /// override protected void Start() { base.Start(); m_rigidbody = gameObject.GetComponent(); } void Update() { } /// /// 重写控制函数喵 /// /// override protected void OnMove(InputAction.CallbackContext ctx) { base.OnMove(ctx); } override protected void OnAtk() { } override protected void OnJump() { } override protected void OnInteract() { } }