public void AddEnginesRoot(EnginesRoot root) { // if (root is EnginesRootNamed named) // { // EnginesRootDebugNames[root] = named.Name; // } var debugRoot = DebugInfo.AddRootToTree(root); OnAddEnginesRoot?.Invoke(debugRoot); }
public void AddEnginesRoot(EnginesRoot root, string rootName = null) { if (string.IsNullOrEmpty(rootName) == false) { EnginesRootDebugNames[root] = rootName; } var debugRoot = DebugInfo.AddRootToTree(root); OnAddEnginesRoot?.Invoke(debugRoot); }