public static GUIContent GetHierarchyIcon(CSGNode node) { IChiselNodeDetails someInterface; if (nodeDetailsLookup.TryGetValue(node.GetType(), out someInterface)) { return(someInterface.GetHierarchyIconForGenericNode(node)); } return(null); }
public static IChiselNodeDetails GetNodeDetails(CSGNode node) { IChiselNodeDetails someInterface; if (nodeDetailsLookup.TryGetValue(node.GetType(), out someInterface)) { return(someInterface); } return(null); }