示例#1
0
 // Start is called before the first frame update
 void Start()
 {
     source = GetComponent <AudioSource>();
     esm    = esmagador.GetComponent <PEsmagad>();
     e      = esmaga.GetComponent <Esmaga>();
     t      = player.GetComponent <Tatu>();
 }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     t = tatu.GetComponent <Tatu>();
 }
示例#3
0
 // Start is called before the first frame update
 void Start()
 {
     t      = player.GetComponent <Tatu>();
     source = GetComponent <AudioSource>();
 }
示例#4
0
    //IEnumerator Gira()
    //{
    //    if (trigger)
    //    {
    //        transform.Rotate(0, 0, 5);
    //    }
    //    yield return new WaitForSeconds(0.05f);
    //    StartCoroutine(Gira());
    //}

    // Start is called before the first frame update
    void Start()
    {
        //StartCoroutine(Gira());
        t = tatu.GetComponent <Tatu>();
    }
示例#5
0
文件: Cai.cs 项目: mswenson1/TCC
 // Start is called before the first frame update
 void Start()
 {
     source = GetComponent <AudioSource>();
     t      = tatu.GetComponent <Tatu>();
 }