示例#1
0
    // Use this for initialization
    void Start()
    {
        theTextBox = FindObjectOfType <TBM4>();

        GetComponent <AudioSource>().playOnAwake = false;
        GetComponent <AudioSource>().clip        = saw;
        test = true;
    }
示例#2
0
 // Use this for initialization
 void Start()
 {
     Box  = FindObjectOfType <TBM4>();
     walk = FindObjectOfType <StopWalk4>();
 }