Question by
JonasHansen020504 · Aug 19, 2016 at 12:10 PM ·
error
Need help getting error CS1061!
using UnityEngine;
public class Waypoints : MonoBehaviour {
public static Transform[] points;
void Awake()
{
points = new Transform[transform.childCount];
for (int i = 0; i < points.Lenght; i++)
{
points[i] = transform.GetChild(i);
}
}
}
Can you guys help?
Comment