https://assetstore.unity.com/packages/tools/particles-effects/x-weapontrail-20972
-
Find the weapon socket in your animation model.
-
Drag the “X-WeaponTrail.prefab” into its hierarchy.
-
Adjust the child gameobject “StartPoint” and “EndPoint”‘s position to match the weapon’s length.
-
Now play the animation you should see a smooth trail.
Activation and Deactivation
Simply set the trail game object’s active state to activate and deactivate the trail.
XEM THÊM ==> Hướng dẫn cài đặt chi tiết
Nguồn: Sharecode.vn
unity 5.2 trở lên.
https://assetstore.unity.com/packages/tools/particles-effects/x-weapontrail-20972
email cho mình để đc hỗ trợ!!