// Use this for initialization void Start() { theTextBox = FindObjectOfType <TBM3>(); GetComponent <AudioSource>().playOnAwake = false; GetComponent <AudioSource>().clip = saw; }
void Start() { Box = FindObjectOfType <TBM3>(); GetComponent <AudioSource>().playOnAwake = false; GetComponent <AudioSource>().clip = saw; walk = FindObjectOfType <StopWalk3>(); box = FindObjectOfType <TBM3>(); }
// Use this for initialization void Start() { theTextBox = FindObjectOfType <TBM3>(); }