public class GameScreen : MonoBehaviour
{
[Serializable] public class NavButtonSettings
{
[HideInInspector] public bool isHidden = false;
public bool isClickable = true;
public UINavButton type;
public UINavButtonOverlay overlay;
public Justification overlayJustification = Justification.Center;
public string text;
public Justification textJustification = Justification.Center;
[EventDelegate("On Click")]
public List
<EventDelegate
> onClick
= new List
<EventDelegate
>(); }
/* Will be drawn exactly as you would expect. All the fields except
* 'onClick' draw in their normal way, but when it gets to 'onClick' the
* EventDelegateDrawer will be used. Hooray!
*/
[SerializeField
] private List
<NavButtonSettings
> btnSettings
= new List
<NavButtonSettings
>; }