Что это за ошибка?
Unity 3d. При применении скрипта к объекту.
Can't add script component 'ballcontrol' because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match.
Unity 3d. При применении скрипта к объекту.
Can't add script component 'ballcontrol' because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match.
Ошибка «Can't add script component because the script class cannot be found» возникает в Unity, когда имя скрипта и определяемого им класса не совпадают . Обычно это происходит, когда создан скрипт, а затем меняют название файла без проведения процесса рефакторинга.