As the title says, I am learning VFX graph in Unity and I am curious where I should place "Set ... over Life"
, for example "Set Color over Life"
which adjust the color based on the particle's age.
When we create a new visual effect graph, they are placed in the Output context by default, which kind of seems odd to me, since it seems more like a Update function? It also works if I place it in the Update context, but I am afraid that I probably mess with the performance if the block should not be placed there for some reason. Also, why can't I set it in the Initialize context - if I do, no changes over time are applied.
Probably someone could point me to the right documentation or some explanation for this, thanks. In general, it would be nice to have a documentation that states which blocks should be used within which context (Initialize, Update, Output).