
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
르탄이가 오른쪽으로 이동하는 코드를 작성 하고 실행 했지만 처음 실행 했을 땐 캐릭터가 그냥 가만히 있고 또 실행하려고 하면 이러한 에러가 뜨네요
.png)
using UnityEngine;
public class Rtan : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
Application.targetFrameRate = 60;
Debug.Log("안녕");
}
// Update is called once per frame
void Update()
{
transform.position.x += Vector3.right * 0.05f;
}
}
