Description
The SupportsMultiEdit
property of the GameObjectControlWidget
class indicates whether the widget supports editing multiple game objects simultaneously. This property is useful in scenarios where batch editing of properties is required, allowing for more efficient workflows in the editor environment.
Usage
To determine if a GameObjectControlWidget
instance supports multi-editing, you can access the SupportsMultiEdit
property. This property is virtual, allowing derived classes to override its behavior if necessary.
Example
// Example of accessing the SupportsMultiEdit property
// Assume 'widget' is an instance of GameObjectControlWidget
bool canEditMultiple = widget.SupportsMultiEdit;
if (canEditMultiple)
{
// Proceed with multi-editing logic
}
else
{
// Handle single-edit scenario
}