sendmessage don't work

hello,
I’m trying to send a message to an assigned global object
the object name is spawner and my code is:

        spawner.SendMessage( "Survival");

This is what I have in a script addigned to the spawner object:

void Survival() {
Destroy(this.gameObject);
	//gameObject.SetActive(false); I tried this ass well, no effect

}

Additional info: the object are not in the same room, something with this?

How can I let this code work?

It needs to be:

public void Survival()
{
//your code
}

The “public” factor before the method shows Unity that the method can be called outside of that script.