use function from another cs unirt
Code Example - use function from another cs unirt
myObject.GetComponent<MyScript>().MyFunction();
myObject.GetComponent<MyScript>().MyFunction();