how to call a void from difrent script code example Example: how to call a void from difrent script myObject.GetComponent<MyScript>().MyFunction();