예제 #1
0
 private void Update()
 {
     if (transform.position.y < -3)
     {
         sb.BlockDied();
         Destroy(gameObject);
     }
 }