示例#1
0
        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);
        }
示例#2
0
 protected void SetParameters(SetSelectorParameters <HashSet <string> > args)
 {
     set = args.paramaters;
     DrawKeyList();
 }
示例#3
0
 protected void SetParameters(SetSelectorParameters <World> args)
 {
     this.chosenWorld = args.paramaters;
     DrawEntityList();
 }
示例#4
0
 protected void SetParameters(SetSelectorParameters <TypeSelectorParameters> args)
 {
     parameters = args.paramaters;
     GenerateTypeList();
 }