Broadcast message

Hello,

I’ve got a very simple question:

How do you use Broadcastmessage?
I do not understand the script reference, could someone explain it to me please?

Hybris

The point of those message is to call a function on every components of a gameObject and of all it’s hierarchy (SendMessageUpwards for parents).

For instance, if you have an Object named Mummy (very important for my metaphore :p) with the component Cook, you can use BroadcastMessage( “DinerTime” ) to all the children of Mummy. If they happen to have a script with a function DinerTime attached, it will be called for each of them.