AddComponentMenu

AddComponentMenu

  The AddComponentMenu attribute allows you to place a script anywhere in the "Component" menu. 

  AddComponentMenu

  AddComponentMenu用于方便地添加方法。

参考:file://localhost/Applications/Unity/Unity.app/Contents/Documentation/Documentation/ScriptReference/AddComponentMenu.html

你可能感兴趣的:(component)