示例#1
0
 /// <summary>
 /// Gets all default instanced objects (often components).
 /// </summary>
 /// <param name="outDefaultSubobjects">An array to be filled with default subobjects.</param>
 public void GetDefaultObjectSubobjects(out UObject[] outDefaultSubobjects)
 {
     using (TArrayUnsafe <UObject> defaultSubobjectsUnsafe = new TArrayUnsafe <UObject>())
     {
         Native_UClass.GetDefaultObjectSubobjects(Address, defaultSubobjectsUnsafe.Address);
         outDefaultSubobjects = defaultSubobjectsUnsafe.ToArray();
     }
 }