コード例 #1
0
 public ReorderableList(SerializedObject serializedObject, SerializedProperty elements, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton)
 {
     this.drawFooterCallback = null;
     this.m_ActiveElement    = -1;
     this.m_DragOffset       = 0f;
     this.id                    = -1;
     this.elementHeight         = 21f;
     this.headerHeight          = 18f;
     this.footerHeight          = 13f;
     this.showDefaultBackground = true;
     this.InitList(serializedObject, elements, null, draggable, displayHeader, displayAddButton, displayRemoveButton);
 }
コード例 #2
0
 public ReorderableList(SerializedObject serializedObject, SerializedProperty elements)
 {
     this.drawFooterCallback = null;
     this.m_ActiveElement    = -1;
     this.m_DragOffset       = 0f;
     this.id                    = -1;
     this.elementHeight         = 21f;
     this.headerHeight          = 18f;
     this.footerHeight          = 13f;
     this.showDefaultBackground = true;
     this.InitList(serializedObject, elements, null, true, true, true, true);
 }
コード例 #3
0
 public ReorderableList(IList elements, System.Type elementType, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton)
 {
     this.drawFooterCallback = null;
     this.m_ActiveElement    = -1;
     this.m_DragOffset       = 0f;
     this.id                    = -1;
     this.elementHeight         = 21f;
     this.headerHeight          = 18f;
     this.footerHeight          = 13f;
     this.showDefaultBackground = true;
     this.InitList(null, null, elements, draggable, displayHeader, displayAddButton, displayRemoveButton);
 }
コード例 #4
0
 public ReorderableList(IList elements, System.Type elementType)
 {
     this.drawFooterCallback = null;
     this.m_ActiveElement    = -1;
     this.m_DragOffset       = 0f;
     this.id                    = -1;
     this.elementHeight         = 21f;
     this.headerHeight          = 18f;
     this.footerHeight          = 13f;
     this.showDefaultBackground = true;
     this.InitList(null, null, elements, true, true, true, true);
 }
コード例 #5
0
 public ReorderableList(SerializedObject serializedObject, SerializedProperty elements, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton)
 {
     this.drawFooterCallback = null;
     this.m_ActiveElement = -1;
     this.m_DragOffset = 0f;
     this.id = -1;
     this.elementHeight = 21f;
     this.headerHeight = 18f;
     this.footerHeight = 13f;
     this.showDefaultBackground = true;
     this.InitList(serializedObject, elements, null, draggable, displayHeader, displayAddButton, displayRemoveButton);
 }
コード例 #6
0
 public ReorderableList(IList elements, Type elementType, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton)
 {
     this.drawFooterCallback = null;
     this.m_ActiveElement = -1;
     this.m_DragOffset = 0f;
     this.id = -1;
     this.elementHeight = 21f;
     this.headerHeight = 18f;
     this.footerHeight = 13f;
     this.showDefaultBackground = true;
     this.InitList(null, null, elements, draggable, displayHeader, displayAddButton, displayRemoveButton);
 }
コード例 #7
0
 public ReorderableList(SerializedObject serializedObject, SerializedProperty elements)
 {
     this.drawFooterCallback = null;
     this.m_ActiveElement = -1;
     this.m_DragOffset = 0f;
     this.id = -1;
     this.elementHeight = 21f;
     this.headerHeight = 18f;
     this.footerHeight = 13f;
     this.showDefaultBackground = true;
     this.InitList(serializedObject, elements, null, true, true, true, true);
 }
コード例 #8
0
 public ReorderableList(IList elements, Type elementType)
 {
     this.drawFooterCallback = null;
     this.m_ActiveElement = -1;
     this.m_DragOffset = 0f;
     this.id = -1;
     this.elementHeight = 21f;
     this.headerHeight = 18f;
     this.footerHeight = 13f;
     this.showDefaultBackground = true;
     this.InitList(null, null, elements, true, true, true, true);
 }