BREAKING CHANGE: removed IUniverseObject.SetParent and made Parent property settable
This commit is contained in:
@@ -12,7 +12,7 @@ public static class UniverseObjectExtensions
|
||||
if (!string.IsNullOrWhiteSpace(name))
|
||||
universeObject.Name = name;
|
||||
if (parent is not null)
|
||||
universeObject.SetParent(parent);
|
||||
universeObject.Parent = parent;
|
||||
return universeObject;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user