var useWorldSpace : bool
Description
If enabled, the particles don't move when the emitter moves. If false, when you move the emitter, the particles follow it around.
particleEmitter.useWorldSpace = true;
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
void Awake() {
particleEmitter.useWorldSpace = true;
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
def
Awake():
particleEmitter.useWorldSpace = true