void Start() { ButtonDown.OnClick.Add(DialogSystem, PressDown); ButtonUp.OnClick.Add(DialogSystem, PressUp); ButtonForgetIt.OnClick.Add(DialogSystem, DialogSystem.Hide); ButtonETrigger.AddListener(ToggleDialog); ButtonETrigger.Window.OnHidden += DialogSystem.Hide; }
void Start() { ButtonETrigger.AddListener(ToggleDialog); ButtonETrigger.Window.OnHidden += DialogSystem.Hide; }