Unity Visual Effect Graph 无法添加Initialize Particle Strip/Update Particle Strip Context

时间:2024-05-19 11:42:56

VFX Graph版本:7.1.8
Problem: 手动搜索添加Initialize Particle Strip/Update Particle Strip节点时搜索不到,只有Output Particle Strip。
Initialize Particle、Update Particle不能直接连接到Particle Strip因为数据类型不一样
Unity Visual Effect Graph 无法添加Initialize Particle Strip/Update Particle Strip Context
解决:

  • 添加Initialize Particle Strip:
    先添加Initialize Particle,然后选中这个context去Inspector中修改Data Type为Strip就可以了
    (参考文章:https://forum.unity.com/threads/vfx-graph-is-strip-trails-rendering-supported-in-the-universal-pipeline.763934/#post-5087798)
    Unity Visual Effect Graph 无法添加Initialize Particle Strip/Update Particle Strip Context
  • 添加Update ParticleStrip:
    和添加Initialize ParticleStrip不一样…因为添加Update Particle之后Inspector中没有可以选择Data Type的单选框
    Unity Visual Effect Graph 无法添加Initialize Particle Strip/Update Particle Strip Context
    只需要把刚刚生成好的Initialize ParticleStrip直接连到Update Particle上就直接转换了…(黑人问号)
    Unity Visual Effect Graph 无法添加Initialize Particle Strip/Update Particle Strip Context
    我竟然搞了两个小时,Unity这个操作也是很绝