public override void OnInspectorGUI()
        {
            DrawDefaultInspector();

            VRTK_RadialMenu rMenu = (VRTK_RadialMenu)target;

            if (GUILayout.Button("Regenerate Buttons"))
            {
                rMenu.RegenerateButtons();
            }
        }
Example #2
0
        protected virtual void Awake()
        {
            menu = GetComponent <VRTK_RadialMenu>();

            Initialize();
        }