コード例 #1
0
        public void PopulateLevels(string[] paths)
        {
            levels        = paths;
            selectedLevel = -1;

            listView.SetItems(paths);
            ValidateLoadButton();
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 public void SetItems(IEnumerable <object> items, bool updateList = true)
 {
     listView.SetItems(items, updateList);
 }