private void DisplayHierarchy(SetSelectorParameters <GameObject> args) { if (args.paramaters == null) { return; } parent = args.paramaters; scroller.Clear(); int[] depthPath = new int[] {}; VisualElement rootShelf; VisualElement root = CreateObjectListItem(parent, out rootShelf, depthPath); scroller.Add(root); scroller.Add(rootShelf); DisplayChildren(parent, rootShelf, depthPath); }
protected void SetParameters(SetSelectorParameters <HashSet <string> > args) { set = args.paramaters; DrawKeyList(); }
protected void SetParameters(SetSelectorParameters <World> args) { this.chosenWorld = args.paramaters; DrawEntityList(); }
protected void SetParameters(SetSelectorParameters <TypeSelectorParameters> args) { parameters = args.paramaters; GenerateTypeList(); }