ObjPointable
The ObjPointable component is designed to simplify the detection and handling of point-and-click interactions within your game. By attaching this component to a NavObject, you enable it to recognize when it is being pointed at or clicked on by the player's input device, such as a mouse or a touchscreen. This functionality is crucial for creating interactive elements like buttons, draggable items, or any objects requiring user interaction. ObjPointable streamlines the process of adding responsive, interactive behaviors to game elements, enhancing the overall user experience and gameplay engagement.