Conditional Attributes
Some of our public variables logically depends on the value of others. When some variable is unchecked (false), other variable has no meaning. For example: Player class containing canJump boolean with jumpHeight float. We don’t have to display jumpHeight when Player canJump is false etc… Even if these variables can be grouped by Header, they are still there and visible. […]