void LocateOriginal(RenderType renderType, bool compatibleWithGeometryShaders) { Material mat = renderType.GetDefaultMaterial(compatibleWithGeometryShaders); if (mat != null) { EditorGUIUtility.PingObject(mat); } else { Debug.LogError("Default material not found."); } }
void LocateOriginal(RenderType renderType) { Material mat = renderType.GetDefaultMaterial(env); if (mat != null) { EditorGUIUtility.PingObject(mat); } else { Debug.LogError("Default material not found."); } }