
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
1-5 캐릭터 움직이기 강의의 약 11분에 rtan script를 더블클릭하여 c#으로
void Update()
{
transform.position += new Vector3(0.05f, 0, 0);
}
를 입력한 후 저장하여 rtan script를 Hierarchy의 rtan에 드래그 앤 드랍을 하였더니 하기 전체 화면 캡처의 1)과 같은 에러 메세지가 출력되었으며
Unity 프로그램 아래에 Exception이 떠서 클릭하면 하기 2)의 메세지가 출력됩니다.
1)

2)

하기는 rtan Script에 저장된 코드
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class rtan : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
transform.position += new Vector3(0.05f, 0, 0);
}
}
