public override void On_Notify(string value) { string key; if (value.Equals("Cookies Event")) { cookiesEvent.On_Match(); if (cookiesEvent.Achievement_Completed()) { key = "Match first cookies"; Notify_Achievement(key, value); } } if (value.Equals("Cake Event")) { cakeEvent.On_Match(); if (cookiesEvent.Achievement_Completed()) { key = "Match 10 cookies"; Notify_Achievement(key, value); } } if (value.Equals("Candy Event")) { candyEvent.On_Match(); if (cookiesEvent.Achievement_Completed()) { key = "Match 5 candy"; Notify_Achievement(key, value); } } }