摘要:
1.Shoot,Throw|Instantiatevar speed = 3.0;var grenadePrefab:Transform; function Update () { //find out if a fire button is pressed if(Input.GetButtonDown("Fire1")) { if(Collisions.GRENADE_AMMO > 0) { //create the prefab var grenade = Instantiate(grenadePre... 阅读全文