Beispiel #1
0
        void OnEnable()
        {
            UITableLayout grid = (UITableLayout)target;

            inspector = new UITableLayoutInspectorImpl(grid);
            inspector.OnEnable();
            SerializedObject obj = new SerializedObject(grid);

            varInspector = new SerializedInspector(obj, "gizmoColor");
        }
Beispiel #2
0
 public void SetLayout(UITableLayout grid)
 {
     this.grid      = grid;
     this.inspector = new UITableLayoutInspectorImpl(grid);
     this.inspector.OnEnable();
 }
Beispiel #3
0
 public void SetLayout(UITableLayout table)
 {
     this.table     = table;
     this.inspector = new UITableLayoutInspectorImpl(table);
     this.inspector.OnEnable();
 }