Advertisement
Guest User

Untitled

a guest
Aug 30th, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.57 KB | None | 0 0
  1. using System;
  2. using UnrealEngine.Runtime;
  3. using UnrealEngine.Engine;
  4. using UnrealEngine.UMG;
  5.  
  6. namespace MyProject7Mono
  7. {
  8.     public class WidgetTest : UserWidget
  9.     {
  10.         protected WidgetTest(IntPtr InNativeObject) : base(InNativeObject)
  11.         {
  12.         }
  13.  
  14.         protected WidgetTest(ObjectInitializer initializer) : base(initializer)
  15.         {
  16.         }
  17.  
  18.         [UFunction, BlueprintCallable]
  19.         [Category("TestCsharp")]
  20.         public string Login(string username, string password)
  21.         {
  22.             return "test";
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement