var rndVelocity : Vector3
Description
A random speed along X, Y, and Z that is added to the velocity.
particleEmitter.rndVelocity =
Vector3(2, 0.1, 2);
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
void Awake() {
particleEmitter.rndVelocity =
new Vector3(2, 0.1F, 2);
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
def
Awake():
particleEmitter.rndVelocity =
Vector3(2, 0.1F, 2)