public void SpawnVFX(Vector3 position, Quaternion rotation) { vfxGameObject = PoolingManager.SpawnObject(vfxPool.PoolName(), position, rotation); playableDirector = vfxGameObject.GetComponent <PlayableDirector>(); }