public override void OnInspectorGUI() { DrawDefaultInspector(); RadialMenu rMenu = (RadialMenu)target; if (GUILayout.Button("Regenerate Buttons")) { rMenu.RegenerateButtons(); } }
private float currentAngle; //Keep track of angle for when we click private void Awake() { menu = GetComponent <RadialMenu>(); Initialize(); }