Partical

作者: fooliker | 来源:发表于2017-04-19 17:32 被阅读0次

    Duration - 粒子持续时间

    Looping - 循环

    Prewarm - 预热

    Start Delay - 预热延迟

    Start Lifetime - 生命周期

    Start Speed - 发射初始速度

    Start Size(3d) - 粒子大小

    Start Color - 粒子初始颜色

    Gravity Modifier - 重力修正 (重力大小)

    Max Particals - 粒子最大释放数量


    Emission - 发射模块

    Rate - 发射频率


    Shape - 形状模块


    Velocity over Lifetime - 粒子在整个生命周期中的速度模块


    Limit Velocity over Lifetime - 速度限制模块


    Force over Lifetime - 生命周期内对粒子施加力的限制模块


    Color over Lifetime - 生命周期内粒子颜色控制模块

    Gradient - 渐变

    Random Between Two Gradients - 在两个渐变的颜色中随机


    Color by Speed - 粒子颜色随速度改变模块


    Size over Lifetime - 生命周期内粒子颜色控制模块


    Size by Speed - 粒子颜色随速度改变模块


    Rotation over Lifetime - 生命周期内粒子旋转控制模块


    Rotation by Speed - 粒子旋转随速度改变模块 


    External Forces - 外部力对粒子系统影响模块


    Collison - 粒子系统碰撞模块


    Textrue Sheet Animation - 粒子系统贴图动画


    Renderer - 粒子系统渲染模块

    Resimulate - 重新开始发射粒子 Wireframe - 是否开启粒子边框




    TrailRenderer 拖尾渲染组件

    Autodestruct - 自动销毁 拖尾效果结束时销毁游戏对象

    刀光插件 AssetStore - Pokect Trail - 找到Left_Trail<Weapon Trail> - 放在 - Hand上 - 给人物加<AnimationController>

    _animationCtl.AddTrail(_leftTrail);

    _animationCtl.AddTrail(_rightTrail);

    // 设置拖尾的时间

    _leftTrail.StartTrail(0.5f , 0.4f);

    // 设置播放时间

    _leftTrail.SetTime(0.5f, 0.2f, 0.2f);

    _rightTrail.StartTrail(0.5f, 0.4f);

    _rightTrail.SetTime(0.5f, 0.2f, 0.2f);

    _anim.Play("Attack");



    LineRenderer 线性渲染组件


    相关文章

      网友评论

          本文标题:Partical

          本文链接:https://www.haomeiwen.com/subject/znzczttx.html