ParticleEmitter.rndAngularVelocity 随机角速度

var rndAngularVelocity : float

Description描述

A random angular velocity modifier for new particles.

新粒子的一个随机角速度改变量。

A random value in the range of [-rndAngularVelocity, rndAngularVelocity] will be applied to all new particles, in addition to ParticleEmitter.angularVelocity

一个在 [-rndAngularVelocity, rndAngularVelocity]范围内的角速度将会施加于所有的新粒子,除了ParticleEmitter.angularVelocity之外

参考: angularVelocity

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		particleEmitter.rndAngularVelocity = 10;
	}
}
particleEmitter.rndAngularVelocity = 10;
Page last updated: 2011-1-23