How to call a function from another function in unity code example
Example: unity call function from another script
public otherScript other;
void Update()
{
other.funtion();
}
public otherScript other;
void Update()
{
other.funtion();
}