Exemplo n.º 1
0
 void go_die()
 {
     Destroy(this.gameObject);
     lifeCounter.Damage();
     //SEを流す
     GameObject.Find("SEPlayer").GetComponent <PlaySE>().ShurikenHitted();
     GameObject DamageObject = Instantiate(Damage, new Vector3(0f, 0f, 0.6f), Quaternion.identity);
 }
Exemplo n.º 2
0
 void go_die()
 {
     Destroy(this.gameObject);
     lifeCounter.Damage();
     GameObject DamageObject = Instantiate(Damage, new Vector3(0f, 0f, 0.6f), Quaternion.identity);
 }