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));
    }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
  • 2021-12-19
  • 2021-06-27
相关资源
相似解决方案