예제 #1
0
 // Get the default object for the UClass represented by this SubclassOf wrapper.
 public T GetDefault()
 {
     return(UnrealObject.GetClassDefaultObject <T>(NativeClass));
 }
예제 #2
0
 // Get the default object for the UClass represented by this SubclassOf wrapper, cast to a specific subclass of the type parameter.
 public U GetDefault <U>() where U : T
 {
     return(UnrealObject.GetClassDefaultObject <U>(NativeClass));
 }