private void Start() { SignalMachine.AddListener <DeathSignal>(OnDeath); SignalMachine.AddListener <NewScoreSignal>(OnScoreChange); SignalMachine.AddListener <NewLeaderboardScoreSignal>(OnHighScore); }
private void Awake() { content.SetActive(false); SignalMachine.AddListener <NewBombCountSignal>(OnBombCount); SignalMachine.AddListener <NewScoreSignal>(OnScore); }