LayerPhysicsButtonBehavior
Package: Libraries.Interface.Behaviors.Scenes.Properties · Inherits from: Libraries.Language.Object, Libraries.Interface.Behaviors.Behavior
The LayerPhysicsButtonBehavior is the Physics in games and Show collision shapes checkboxes in a layer's Physics section. It tells the section when one is checked or unchecked.
Actions
Dispose()
A checkbox runs its behavior only when it is checked, and calls Dispose when it is unchecked, so unchecking is passed on the same way. The section reads the checkbox's state.
Run(Libraries.Interface.Events.BehaviorEvent event)
Sets the section the checkbox is in.
Parameters
SetDialog(Libraries.Interface.Controls.Scenes.Dialogs.LayerPhysicsPropertiesDialog dialog)
Sets the section the checkbox is in.
Parameters
dialogLibraries.Interface.Controls.Scenes.Dialogs.LayerPhysicsPropertiesDialog: The layer's Physics section