Files
GhostEngine/Ghost.Editor.Core/SceneGraph/SceneGraphNode.cs
2026-01-26 13:59:33 +09:00

19 lines
370 B
C#

using CommunityToolkit.Mvvm.ComponentModel;
using System.Collections.ObjectModel;
namespace Ghost.Editor.Core.SceneGraph;
public abstract partial class SceneGraphNode : ObservableObject
{
[ObservableProperty]
public partial string Name
{
get; set;
}
public ObservableCollection<SceneGraphNode> Children
{
get;
} = new();
}