Search Unity

extending built in editor ( inspector )

Discussion in 'Editor & General Support' started by dreammakersgroupAdmin, Oct 16, 2012.

  1. dreammakersgroupAdmin

    dreammakersgroupAdmin

    Joined:
    Feb 13, 2012
    Posts:
    40
    I would like to add some property to Material asset, so I create class MyMaterial inherited from material , and i want to make MyMaterialInspector inherited from MaterialEditor. so i can use default OnInspectorGUI of MaterialEditor.

    but the problem is : MaterialEditor is internal class , i cannot inherit from it.

    what is the solution?
    is it possible to make built in editor as public class?