Premium player with that name does not exist что делать
В чем ошибка скрипта? Компилятор юнити выдаёт ошибку!
Компилятор выдаёт ошибку, в чем дело??
Задание: 1. Определить иерархию классов (в соответствии с вариантом). Базовый класс должен.
Компилятор выдаёт ошибку C2760
Добрый день. Не могу понять, почему компилятор выдаёт ошибку. Вроде всё правильно написано….
Assets/Scripts/Farm_Action.cs(17,7): error CS0103: The name `coll’ does not exist in the current context
Assets/Scripts/Farm_Action.cs(19,17): error CS0103: The name `Pshenitsa’ does not exist in the current context
Assets/Scripts/Farm_Action.cs(19,27): error CS0103: The name `Player’ does not exist in the current context
Assets/Scripts/Farm_Action.cs(19,5): error CS0311: The type ` ‘ cannot be used as type parameter `T’ in the generic type or method `UnityEngine.Object.Instantiate (T, UnityEngine.Vector3, UnityEngine.Quaternion)’. There is no implicit reference conversion from ` ‘ to `UnityEngine.Object’
Assets/Scripts/Farm_Action.cs(22,7): error CS0103: The name `coll’ does not exist in the current context
Assets/Scripts/Farm_Action.cs(24,8): error CS0103: The name `IsPlanted’ does not exist in the current context
Assets/Scripts/Farm_Action.cs(25,13): error CS0103: The name `Pshenitsa’ does not exist in the current context
Assets/Scripts/Farm_Action.cs(26,5): error CS0103: The name `Pshen’ does not exist in the current context
Добавлено через 3 минуты
Gammister, Вот все ошибки
Assets/Scripts/Farm_Action.cs(17,7): error CS0103: The name `coll’ does not exist in the current context
Assets/Scripts/Farm_Action.cs(19,17): error CS0103: The name `Pshenitsa’ does not exist in the current context
Assets/Scripts/Farm_Action.cs(19,27): error CS0103: The name `Player’ does not exist in the current context
Assets/Scripts/Farm_Action.cs(19,5): error CS0311: The type ` ‘ cannot be used as type parameter `T’ in the generic type or method `UnityEngine.Object.Instantiate (T, UnityEngine.Vector3, UnityEngine.Quaternion)’. There is no implicit reference conversion from ` ‘ to `UnityEngine.Object’
Assets/Scripts/Farm_Action.cs(22,7): error CS0103: The name `coll’ does not exist in the current context
Assets/Scripts/Farm_Action.cs(24,8): error CS0103: The name `IsPlanted’ does not exist in the current context
Assets/Scripts/Farm_Action.cs(25,13): error CS0103: The name `Pshenitsa’ does not exist in the current context
Assets/Scripts/Farm_Action.cs(26,5): error CS0103: The name `Pshen’ does not exist in the current context
Добавлено через 7 минут
Gammister, Вот я переделал скрипт исправил пару ошибок но всё равно несколько осталось