lib-unity-tutorial-gameplay-Assets-Scripts-Effects-CollisionParticleEffect.js / js
// Small script to hold a reference to a prefab used for when the player hits me. // This script is attached to game object making up your level. // The "Foot" script (which is attached to the player) looks for this script on whatever it touches. // If it finds it, then it will spawn one of these var effect : GameObject;
(C) Æliens 04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.