플레이어 코드 작성using UnityEngine;public class PlayerController : MonoBehaviour{ public float speed = 10f; public float horizontalBound = 8f; private Rigidbody2D rb; void Start() { rb = GetComponent(); } void Update() { float horizontalInput = Input.GetAxis("Horizontal"); rb.velocity = new Vector2(horizontalInput * speed, rb.velocity.y); if (transfor.....