static void PrintProperty ()
{
if(Selection.activeObject == null) return;
SerializedObject so = new SerializedObject (Selection.activeObject);
SerializedProperty sp = so.GetIterator ();
do
{
Debug.Log (sp.name);
} while(sp.Next(true));
}
static void PrintProperty ()
{
if(Selection.activeObject == null) return;
SerializedObject so = new SerializedObject (Selection.activeObject);
SerializedProperty sp = so.GetIterator ();
do
{
Debug.Log (sp.name);
} while(sp.Next(true));
}