void OnEnable() { UITableLayout grid = (UITableLayout)target; inspector = new UITableLayoutInspectorImpl(grid); inspector.OnEnable(); SerializedObject obj = new SerializedObject(grid); varInspector = new SerializedInspector(obj, "gizmoColor"); }
public void SetLayout(UITableLayout grid) { this.grid = grid; this.inspector = new UITableLayoutInspectorImpl(grid); this.inspector.OnEnable(); }
public void SetLayout(UITableLayout table) { this.table = table; this.inspector = new UITableLayoutInspectorImpl(table); this.inspector.OnEnable(); }