need help , i’m a totally beginner for c# and unity too .
i did exactly the same in tutorial, but unity just tell me that my script cant work .
could anyone help me ?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Waypoints : MonoBehaviour{
public static Transform[] points;
void Awawke ()
{
points = new Transform[transform.childCount];
for (int i = 0; i < points.Length; i++)
{
points[i] = transform.GetChild(i)
}
}
}
and I really dont know how to debug C#, cause for debuging python in VScode , it’s so easy to do that , but i have no clue what i can do for C#.