//SendMessage from a GameObject gameObject.SendMessage("MethodName", SendMessageOptions.RequireReceiver);
//SendMessage from a script public class ExampleScript : MonoBehaviour { public GameObject recipient; private void Start() { recipient.SendMessage("MethodName", "Hello World!"); } }This example sends a message with a given methodName and a parameter "Hello World!" to the recipient GameObject's associated MethodName. SMP Player SendMessage is a part of the Unity package library.