public void RemoveFsmFromCanvas(NodeCanvas nodecanvas) { if (nodecanvas == null) { LogMgr.LogError("nodecanvas is Null"); return; } if (Root != null) { this.Root.RemoveNode(Root.Map2Copy(nodecanvas)); } }