Search Unity

Question VFX Unity, How To Get / Change the Particles of a VFX during Runtime via script???

Discussion in 'Animation' started by izzanfuad, Dec 28, 2022.

  1. izzanfuad


    Dec 7, 2021
    Hi guys, I just started using VFX and was wondering how to change my particle size or any other component in that matter via script. I read the scripting API, but can't seem to find the exact function to do so.

    For now I'm trying to make a flowing sand VFX animation, and wanted to get it's size per particle.

    upload_2022-12-28_16-39-12.png upload_2022-12-28_16-39-37.png