Синтаксис:
Используется csharp
int i = path.vectorPath.Count;
Выдаёт ошибку: Type `UnityEngine.Vector3[]' does not contain a definition for `Count' and no extension method `Count' of type `UnityEngine.Vector3[]' could be found (are you missing a using directive or an assembly reference?)
vectorPath, это массив типа Vector3, т.е. Count должен на нём работать, как и на любом массиве. Я уже и Count() пробовал, та же самая ошибка.
Сверху скрипта присоеденены:
Синтаксис:
Используется csharp
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Collections;
using System.Collections.Generic;