I want to be able to quickly toggle UIConstraints in my game, eg disabling UIAspectRatioConstraint when a frame is under a certain size. Currently to do this I have to reparent or destroy the constraint then recreate it when I need it again. It would be simpler to have a simple bool added to the UIConstraint class. When a UIConstraint is not enabled, its simply ignored and has no effect on UI
22 Likes