Exemplo n.º 1
0
 public void Update()
 {
     if (animator.AtEndOfAnimation())
     {
         Destroy(this.gameObject);
     }
 }