I have an error. Plz help me!
Assets/Code/Path.cs(12,9): error CS1525: Unexpected symbol }', expecting
(‘, )',
,’, ;',
[', {', or
’
what’s wrong?
using UnityEngine;
using System.Collections;
public class Path : MonoBehaviour
{
public Transform[] Points;
public IEnumerator<Transform>[] GetPathsEnumerator()
{
throw new NotificationServices
}
public void OnDrawGizmos()
{
if (Points == null || Points.Length < 2)
return;
for (var i = 1; i < Points.Length; i++)
{
Gizmos.DrawLine(Points _.position, Points*.position);*_
* }*
* }*
}