As thornekey says. But what you can do is either writing the code for destroying BOTH gameobjects in each trigger function or do a seperate script that handles all the destroying functions so it will not be destroyed when the gameobject gets destroyed.
↧