ParticleEmitter.rndRotation 随机旋转

var rndRotation : bool

Description描述

If enabled, the particles will be spawned with random rotations

如果开启,粒子将会产生随机旋转

using UnityEngine;
using System.Collections;

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