/// <summary>Creates a widget</summary>
        public static UUserWidget Create(UObject WorldContextObject, TSubclassOf <UUserWidget> WidgetType, APlayerController OwningPlayer)
        {
            IntPtr ___ret = Create(IntPtr.Zero, WorldContextObject, WidgetType.NativeClass, OwningPlayer);

            if (___ret == IntPtr.Zero)
            {
                return(null);
            }
            UUserWidget ___ret2 = new UUserWidget()
            {
                _this = ___ret
            }; return(___ret2);
        }
예제 #2
0
        /// <summary>@return The user widget object displayed by this component</summary>
        public UUserWidget GetUserWidgetObject()
        {
            CheckIsValid();
            IntPtr ___ret = GetUserWidgetObject(_this.Get());

            if (___ret == IntPtr.Zero)
            {
                return(null);
            }
            UUserWidget ___ret2 = new UUserWidget()
            {
                _this = ___ret
            }; return(___ret2);
        }
예제 #3
0
 /// <summary>
 /// Sets the widget to use directly. This function will keep track of the widget till the next time it's called
 ///     with either a newer widget or a nullptr
 /// </summary>
 public extern virtual void SetWidget(UUserWidget Widget);
예제 #4
0
 /// <summary>
 /// Sets the widget to use directly. This function will keep track of the widget till the next time it's called
 ///     with either a newer widget or a nullptr
 /// </summary>
 public void SetWidget(UUserWidget Widget)
 {
     CheckIsValid();
     SetWidget(_this.Get(), Widget);
 }