public void Awake() { achievementEvent.AddListener(this); _achievementsDict = new Dictionary <string, AchievementItemUI>(); foreach (AchievementItemUI achievement in achievements) { _achievementsDict.Add(achievement.thisAchievement.key, achievement); } }
private void Start() { sayMyNameEvent.AddListener(SayMyName); echoThisEvent.AddListener(echoThisMessage); }