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)); }
时间: 2024-11-08 13:34:47