public virtual void OnClickedOnNode() { _ClickedOnNodeEvent.Invoke(); _NodeClickedEvent.Invoke(this); }
public void Invoke(object data) { Event.Invoke(data); }
public void Kill() { Destroy(gameObject); _PlayerDeathEvent.Invoke(null); }
public void OnClick(SO_GenericEvent eventToInvoke) { eventToInvoke.Invoke(null); }
private void DeclareAsLoser() { _LocalPlayerLostEvent.Invoke(null); _RemotePlayerWinner.sprite = _WinnerIcon; }
private void DeclareAsWinner() { _LocalPlayerWonEvent.Invoke(null); _LocalPlayerWinner.sprite = _WinnerIcon; }
private void OnEnable() { _EnteredMainMenuEvent.Invoke(null); }