docs.unity3d.com
Version: 

    Customize menus

    Reorder your Pixyz Studio menus as you wish with .menu files.

    Set up

    1. Create a menus subfolder at your plugin's root folder, next to plugin.xml.

    2. Create a new file with the .menu extension.

      You can add as many .menu files as you like.

      Icons can be added by adding a .png file to the icons subfolder, see this documentation page.

    Syntax

    Menu creation and positioning

    1. Create a new Sample menu, position it before an existing one:

      <menu name="Sample" before="Scene">
          …
      </menu>
      

      Or edit an existing menu:

      <menu name="Scene">
          …
      </menu>
      
    2. Create a submenu:

      <menu name="Sample" before="Scene">
          <subMenu name="Pixyz">
              …
          </subMenu>
      </menu>
      
    3. Add separators:

      …
      <separator/>
      …
      

    Function entries

    • Add the main plugin function and change its displayed name:

      <action function="SampleFunction" displayName="Sample Function"/>
      
    • Add existing functions from other modules:

      <action module="Algo" function="tessellate"/>
      
    • Hide existing functions:

      <action module="Algo" function="decimateTarget" hidden="true"/>
      
    Note

    Function will be hidden in its original menu.

    Pixyz Studio 2025.1.1.2 based on SDK 2025.1.2.3
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX.