添加组件脚本:

1:

在脚本上外部添加:[AddComponentMenu("WuKk/Public/Button Level")]

publicclass ButtonLevelS : MonoBehaviour {

}

 

建菜单:

1,一般用于编译器

[MenuItem("WuKk/menu")]

    static void Init(){

    }

相关文章:

  • 2021-11-20
  • 2021-06-06
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
  • 2021-07-21
  • 2022-12-23
猜你喜欢
  • 2021-12-21
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
相关资源
相似解决方案