public void PopulateLevels(string[] paths) { levels = paths; selectedLevel = -1; listView.SetItems(paths); ValidateLoadButton(); }
public void Show(Type type, bool sceneObject) { if (sceneObject) { List <UnityObject> allObjects = new List <UnityObject>(LevelEditorWorld.GetObjects(type)); allObjects.Insert(0, null); listView.SetItems(allObjects); } Show(true); }
public void SetItems(IEnumerable <object> items, bool updateList = true) { listView.SetItems(items, updateList); }