public GameObject myObject; //make ref. in inspector window myObject.GetComponent<MyScript>().MyFunction();
public otherScript other; void Update() { other.funtion(); }