internal static void OnDragWidgetInfo(DDContainer widget, RequestDragWidgetInfoEventArg arg) { FString layout; FString item; widget.mHandleDragWidgetInfo(widget.Name, out layout, out item, arg.Dimension); Widget wd = null; if (null != layout && null != item) { ExecuteResult ret = GUI.FindWidget(layout, item, out wd); if (ExecuteResult.Success == ret) { arg.Item = wd.Instance.Ptr; } } }
internal static void OnDragWidgetInfo(DDContainer widget, RequestDragWidgetInfoEventArg arg) { FString layout; FString item; widget.mHandleDragWidgetInfo(widget.Name, out layout, out item, arg.Dimension); Widget wd = null; if (null != layout && null !=item) { ExecuteResult ret = GUI.FindWidget(layout, item, out wd); if (ExecuteResult.Success == ret) { arg.Item = wd.Instance.Ptr; } } }