BREAKING CHANGE: removed IUniverseObject.SetParent and made Parent property settable

This commit is contained in:
2025-08-05 10:46:25 +03:00
parent 11612ff0db
commit 3452194941
4 changed files with 40 additions and 43 deletions

View File

@@ -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;
}