ParticleEmitter.rndRotation Manual     Reference     Scripting  
Scripting > Runtime Classes > ParticleEmitter
ParticleEmitter.rndRotation

var rndRotation : boolean

Description

If enabled, the particles will be spawned with random rotations.

JavaScript
particleEmitter.rndRotation = true;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Example() {
particleEmitter.rndRotation = true;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
particleEmitter.rndRotation = true