Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     player = FindObjectOfType <Mainplayer>();
     b1.gameObject.SetActive(false);
     b2.gameObject.SetActive(false);
     b3.gameObject.SetActive(false);
     b4.gameObject.SetActive(false);
 }
Exemplo n.º 2
0
 private void BtnStop_Click(object sender, EventArgs e)
 {
     Mainplayer.Stop();
 }