로딩
요청 처리 중입니다...

[Unity] can't add script behaviour callbackexecutor. the script needs to derive from monobehaviour

 [Unity] can't add script behaviour callbackexecutor. the script needs to derive from monobehaviour

위의 사진은 게임 개발 공부 중에 나온 오류입니다.갑작스레 나온 오류여서 조금은 당황 했지만, 곧바로 해결했습니다. 오류 원인오류의 근본적인 원인에는 스크립트명 과 클래스명이 다르다는 점입니다.스크립트명은 PlayerController클래스명은 PleyerControlelr사건의 발단은 제가 스크립트 명을 잘못 작성하여 이후 수정한 것 때문이었습니다.Unity에서 스크립트 명을 변경시스크립트 명을 기반으로 한 클래스 명은 수정이 되지 않기 때문에이 부분은 사용자가 직접 클래스 명을 수정해 줘야 합니다.

오류 해결스크립트 명은PlayerController수정된 클래스 명은PlyaerController문제가 있었던 클래스 명을 올바르게 바꾸어..........

[Unity] can't add script behaviour callbackexecutor. the script needs to derive from monobehaviour에 대한 요약내용입니다.

자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.