Пример #1
0
    public void ShowDamageParticles(Vector3 _position, int _count = 30)
    {
        EmitParams eParams = new EmitParams();

        eParams.ResetPosition();
        eParams.applyShapeToPosition = true;

        eParams.position = transform.InverseTransformPoint(_position);

        particlesArmorDamage.Emit(eParams, _count);
    }