The UI
field of the PanelInputType
enumeration represents the regular expected behavior for UI input handling. This means that input events are processed in the standard manner, typically used for user interface interactions.
The UI
field of the PanelInputType
enumeration represents the regular expected behavior for UI input handling. This means that input events are processed in the standard manner, typically used for user interface interactions.
Use the UI
field when you want the input to be handled in the usual way for UI components. This is the default behavior for most UI elements, ensuring that input events such as clicks, key presses, and other interactions are processed appropriately by the UI system.
// Example of using PanelInputType.UI Panel myPanel = new Panel(); myPanel.InputType = PanelInputType.UI; // This sets the panel to handle input in the regular UI manner.