public void OnExit() { StopCoroutine(glitchFontOnHover); text.color = (affiliation == Char.X) ? Color.black : Color.white; isGlitching = false; text.fontSize = 260; OnSelectionButton?.Invoke(false, false, affiliation); }
public ModelessForm() { InitializeComponent(); //Initialize EventHandlers OnExportButtonParameter = new OnExportButton(); ExportActionParameter = ExternalEvent.Create(OnExportButtonParameter); OnSelectionButtonParameter = new OnSelectionButton(); SelectionActionParameter = ExternalEvent.Create(OnSelectionButtonParameter); // }
public void OnClick() { OnSelectionButton?.Invoke(false, true, affiliation); }
public void OnEnter() { glitchFontOnHover = StartCoroutine(GlitchFontOnHover()); text.color = (affiliation == Char.X) ? Color.white : Color.black; OnSelectionButton?.Invoke(true, false, affiliation); }