- Joined
- Nov 3, 2006
- Messages
- 8,102
What's the most efficient way to get type of the widget? I have several functions that return a widget because they are shared by destructs/items/units and I have a way to tell what type the widget is (by checking if GetOrderTarget() == GetOrderTargetUnit() for example). Is there a native/more efficient way to do this?