pe.particleAnimator.force.y = CurrentSpeed;
Type UnityEngine.GameObject' does not contain a definition for
particleAnimator’ and no extension method particleAnimator' of type
UnityEngine.GameObject’ could be found
what to do?
pe.particleAnimator.force.y = CurrentSpeed;
Type UnityEngine.GameObject' does not contain a definition for
particleAnimator’ and no extension method particleAnimator' of type
UnityEngine.GameObject’ could be found
what to do?
As you can see in the GameObject documentation, there is no particleAnimator property. You can use GetComponent(ParticleAnimator) instead.