灯芯 6a6ef848d3 修改瓷瓶、飞机、油桶贴图 3 kuukautta sitten
..
Apple 426be20255 小包体工程提交《snipershooting》 5 kuukautta sitten
Pumpkin 7c7376ea34 增加关卡皇冠分数,修改复合弓贴图颜色,修改几把枪颜色 4 kuukautta sitten
Watermelon 6a6ef848d3 修改瓷瓶、飞机、油桶贴图 3 kuukautta sitten
Apple.meta 426be20255 小包体工程提交《snipershooting》 5 kuukautta sitten
DestructableTarget.cs 7dc5e1ba34 重构:重命名未被混淆的类 3 kuukautta sitten
DestructableTarget.cs.meta 7dc5e1ba34 重构:重命名未被混淆的类 3 kuukautta sitten
FruitPhysicsMaterial.physicMaterial 426be20255 小包体工程提交《snipershooting》 5 kuukautta sitten
FruitPhysicsMaterial.physicMaterial.meta 426be20255 小包体工程提交《snipershooting》 5 kuukautta sitten
Pumpkin.meta 426be20255 小包体工程提交《snipershooting》 5 kuukautta sitten
Readme.txt 426be20255 小包体工程提交《snipershooting》 5 kuukautta sitten
Readme.txt.meta 426be20255 小包体工程提交《snipershooting》 5 kuukautta sitten
Watermelon.meta 426be20255 小包体工程提交《snipershooting》 5 kuukautta sitten

Readme.txt

Exploding Fruits


To use the fruits in your game, place them in the scene or instantiate the prefab at runtime, access the ExplodingFruits component and use its methods like this:

ExplodingFruit explodingFruit = fruitObject.GetComponent();

// By default, the fruit object and all of its parts will disappear 4 seconds
// after the explosion. You can vary this time or set it to 0 if you want the
// parts to stay around indefinitely:
explodingFruit.destroyAfterSeconds = 5;

// Make the fruit explode with a default force from its center:
explodingFruit.Explode();

// Make the fruit explode from an impact with direction hitDirection and force hitForce:
// (This will push the pieces in the direction of the impact)
Vector3 hitVector = hitForce * hitDirection;
Explode( hitVector );

// Reset the exploded fruit object, so you can explode it again:
explodingFruit.Reset();



For any support inquiries, please contact us: info@chromegekko.com







Credits:

Pumpkin Texture: Patrick Hoesly flickr.com
Watermelon/Pumpkin squash sounds: MWLANDI from freesound.org