Example #1
0
 void Update()
 {
     if (transform.position.y <= killHeight)
     {
         apScript.appleDropped();
         Destroy(this.gameObject);
     }
 }