Tank & Healer Studio
  • Home
  • Assets
    • Ultimate Joystick
    • Ultimate Button
    • Ultimate Touchpad
    • Ultimate Status Bar
    • Ultimate Radial Menu
    • Ultimate Mobile Quickbar
  • News
  • Contact Us

UltimateRadialMenu.AddRadialButton

public void AddRadialButton( Action ButtonCallback, UltimateRadialButtonInfo newRadialButtonInfo );
public void AddRadialButton( Action<int> ButtonCallback, UltimateRadialButtonInfo newRadialButtonInfo );
public void AddRadialButton( Action<string> ButtonCallback, UltimateRadialButtonInfo newRadialButtonInfo );
Parameters
Description
ButtonCallback
​This variable is where you will want to put the function that you want the radial button to call when being interacted with. For more information about the ButtonCallback parameter and how use it, click here.
newRadialButtonInfo
​The new information to apply to the radial button. For more information about the UltimateRadialButtonInfo class and how to use it, please click here.

Description

Adds a new button to the radial menu at the end of the list. 

To add a button at a specific index of the radial menu buttons, please use the InsertRadialButton function.
Description
This example code shows how to add a radial button to the menu. In this example it is showing how items can be added, but the same method can be used for any type of button that you want to add.

    
Picture
  • Home
  • Assets
    • Ultimate Joystick
    • Ultimate Button
    • Ultimate Touchpad
    • Ultimate Status Bar
    • Ultimate Radial Menu
    • Ultimate Mobile Quickbar
  • News
  • Contact Us