- public GameObject blueBar;
- void OnTriggerEnter(Collider collision)
- if(collision.gameObject.tag == "Shot")
- blueBar.guiTexture.pixelInset.width += 64;
a guest Oct 11th, 2013 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data