//void Update () { //} void OnTriggerEnter(Collider hit) { if (hit.tag == "Killzone") { Destroy(this.gameObject); Game_manager.OnDuckDeath(); } if (hit.tag == "Flyawayzone") { Game_manager.OnDuckFlyAway(); Destroy(this.gameObject); } }