我在显示GameObject[]
数组和list<T>
在我的EditorWindow
中,这是我的代码:
public class WaypointItem
{
public List<GameObject> AllEnemys = new List<GameObject>(); // Enemies to kill
public GameObject[] Objectman; // object to spawn
}
我想在EditorWindow
public class WaypointItemEditor : EditorWindow
{
//Display Objectman[] here.
// Display AllEnemys list here.
}