Marks the function as a callback for reporting when a scene object containing the specified Component
type has been selected or deselected.
The attributed function must have the following signature
(component:Component, isSelected:boolean)
When callback is triggered the component parameter will contain the instance of the component that
was selected or deselected. The isSelected parameter must be a boolean which determines whether the
component was added (if true) or removed (if true) from the current selection.
Marks the function as a callback for reporting when a scene object containing the specified Component type has been selected or deselected.
The attributed function must have the following signature
When callback is triggered the
componentparameter will contain the instance of the component that was selected or deselected. TheisSelectedparameter must be abooleanwhich determines whether the component was added (if true) or removed (if true) from the current selection.