This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
[RequireComponent(typeof(Rigidbody2D), typeof(BoxCollider2D))] | |
public class PlayerMovement2D : MonoBehaviour | |
{ | |
private Rigidbody2D m_PlayerRB; | |
private float m_InputX; | |
private float m_InputY; |