private void InjectScoreEventPublisher([EntityScope] Score score, [EventChannelScope] ScoreEventChannel eventChannel) { this.score = score; this.eventChannel = eventChannel; }
private void Awake() { scoreEventChannel = Finder.ScoreEventChannel; audioSource = gameObject.GetComponent <AudioSource>(); }
private void InjectHeadUpDisplayController([EntityScope] ScoreView scoreView, [EventChannelScope] ScoreEventChannel scoreEventChannel) { this.scoreView = scoreView; this.scoreEventChannel = scoreEventChannel; }