【Unity】VFXGraphを途中から再生する

Simulateを使用すると途中から再生することができます

docs.unity3d.com

using UnityEngine;
using UnityEngine.VFX;
public class Test : MonoBehaviour
{

    public VisualEffect effect;
    // Update is called once per frame
    void Update()
    {
        if(Input.GetKeyDown(KeyCode.A))
        {
          
            effect.Play();
            effect.Simulate(Time.deltaTime, 101);
        }
    }
}