Beispiel #1
0
        public HierarchyLogicElement(HierarchyElementCreationTemplate <BufferedRectTransform> hierarchyTabTemplate, HierarchyBaseElement hierarchyBaseElement)
        {
            this.hierarchyTabTemplate = hierarchyTabTemplate;

            bufferedHierarchyTabElements = new BufferedArray <BufferedRectTransform>(InstantiateBufferedHierarchyTabElement, BufferHierarchyTabElement);

            this.hierarchyBaseElement = hierarchyBaseElement;
        }
Beispiel #2
0
 public void CreateNewBufferedElementStructure <T>(HierarchyElementCreationTemplate <BufferedHierarchyObjectElement> hierarchyElementCreationTemplate) where T : BufferedHierarchyObjectElement
 {
     bufferedHierarhcyElementStructures.Add(typeof(T), new BufferedHierarhcyElementStructure(this, hierarchyElementCreationTemplate));
 }
Beispiel #3
0
 public BufferedHierarhcyElementStructure(HierarchyLogicElement hierarchyV2, HierarchyElementCreationTemplate <BufferedHierarchyObjectElement> hierarchyObjectTemplate)
 {
     this.hierarchyV2                = hierarchyV2;
     this.hierarchyObjectTemplate    = hierarchyObjectTemplate;
     bufferedHierarchyObjectElements = new BufferedArray <BufferedHierarchyObjectElement>(InstantiateBufferedObjectElement, BufferBufferedObjectElement);
 }