1. public GameObject blueBar;
  2.  
  3. void OnTriggerEnter(Collider collision)
  4. {
  5. if(collision.gameObject.tag == "Shot")
  6. {
  7. blueBar.guiTexture.pixelInset.width += 64;
  8. Destroy(collision.gameObject);
  9. spawnOrb();
  10. Destroy(gameObject);
  11. }
  12. }