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); } } }
「IT技術ブログ」 カテゴリー一覧(参加人数順)