ParticleEmitter.useWorldSpacevar useWorldSpace : booleanDescriptionIf enabled, the particles don't move when the emitter moves. If false, when you move the emitter, the particles follow it around.
JavaScripts
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 |
