public void OnNpcDestroyed(object npc) { //score += scoreIncreaseValue; showSuccessMsg = true; //NPClist.Remove((NPCControll)npc); playerScript.FillAmmo(); Invoke("disableSuccessMsg", destroyMessageTime); }
public void OnNpcDestroyed(object npc) { //score += scoreIncreaseValue; showSuccessMsg = true; //NPClist.Remove((NPCControll)npc); playerScript.FillAmmo(); Invoke("disableSuccessMsg", destroyMessageTime); }