Infrastructure for vfx and object placable in world at runtime using a handheld gun.
Head to my VCC Listing and follow the instructions there.
For the best experience, use a prefab variant:
Effects object in the prefabNow when updating this package, all change to the main prefab will get applied to all of your instances in the scene without you having to do anything. So long as it’s not breaking changes in regards to the effects parent setup.
Every child of the Effects object in the gun prefab should take the following form:
Effects
┣╸MyEffect (with Effect Descriptor)
┃ ┣╸EffectObject (A single object containing all objects that ultimately define are the effect/object)
┃ ┗╸EffectClones (An empty object required by the Effect Descriptor)
┗╸...
The order of the children of the Effect Descriptor matters, and there must not be any more children than those 2.
If the EffectObject contains particle systems it is automatically considered a particle effect and if any of them are loop effects it is considered a loop particle effect. Otherwise it is an object effect.
Important: When making particle system effects, make sure to disable Play On Awake.
Important: When making an object effect, make sure to deactivate the EffectObject.
com.jansharp.vfx-target-gun
未設定
0.4.7 (変更履歴)
2019.4 以降
なし
なし