Class FlexalonDragTarget
- Namespace
- Flexalon
- Assembly
- Flexalon.dll
A drag target allows a layout to accept dragged FlexalonInteractable objects.
public class FlexalonDragTarget : MonoBehaviour
- Inheritance
-
objectFlexalonDragTarget
Properties
CanAddObjects
Whether objects can be added to the layout by dragging them to this target.
public bool CanAddObjects { get; set; }
Property Value
- bool
CanRemoveObjects
Whether objects can be removed from the layout by dragging them from this target.
public bool CanRemoveObjects { get; set; }
Property Value
- bool
DragTargets
public static IReadOnlyCollection<FlexalonDragTarget> DragTargets { get; }
Property Value
- IReadOnlyCollection<FlexalonDragTarget>
Margin
Extra margin around the layout size to use for hit testing.
public Vector3 Margin { get; set; }
Property Value
- Vector3
MaxObjects
The maximum number of objects that can be added to the layout.
public int MaxObjects { get; set; }
Property Value
- int
MinObjects
The minimum number of objects that must remain in this layout.
public int MinObjects { get; set; }
Property Value
- int