// Use this for initialization
    void Start()
    {
        theTextBox = FindObjectOfType <TBM3>();

        GetComponent <AudioSource>().playOnAwake = false;
        GetComponent <AudioSource>().clip        = saw;
    }
示例#2
0
    void Start()
    {
        Box = FindObjectOfType <TBM3>();

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