Class ConvergeToVectorMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Echo.ParticleSystems
public class ConvergeToVectorMotion : AbstractFloatSpeedTypeMotion<ParticleSystem>, IEchoMotion, IMotion
- Inheritance
-
AbstractEchoMotion<ParticleSystem>AbstractFloatSpeedMotion<ParticleSystem>AbstractFloatSpeedTypeMotion<ParticleSystem>ConvergeToVectorMotion
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ConvergeToVectorMotion(ParticleSystem, Vector3, float, SpeedType)
public ConvergeToVectorMotion(ParticleSystem item, Vector3 target, float speed = 1, SpeedType speedType = SpeedType.Linear)
Parameters
Fields
particles
protected Particle[] particles
Field Value
- Particle[]
target
protected Vector3 target
Field Value
- Vector3
Methods
OnUpdate(float)
public override void OnUpdate(float deltaTime)
Parameters
deltaTime
float