TreeUtils.md
February 25, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.Utils
TreeUtils Class
public static class TreeUtils
Inheritance System.Object ๐ก TreeUtils
| Methods | |
|---|---|
| AddDataEntitiesToEntity(Entity, IReadOnlyList<DataEntity>) | Add the given dataEntities to the specified targetEntity. The pid and the children of the given dataEntities are replaced with the pids of the newly created Entity's. |
| DuplicateEntities(List<Entity>) | |
| EntitiesToJsonArray(IEnumerable<Entity>) | Create a JSON array from given entities including their ChildEntities. |
| JsonArrayToDataEntities(JsonValue, List<DataEntity>) | Convert a JSON array to DataEntity's |
| MoveExplorerItemsDown(ExplorerItem[], int) | |
| MoveExplorerItemsUp(ExplorerItem[], int) | |
| RemoveExplorerItems(ExplorerItem[]) |