|
Post by kukuhbasuki on Mar 4, 2018 1:53:30 GMT
Problems:
1. Player is playing sound when hit the Enemy, but sometimes it didn't. 2. Enemy didn't play any sounds.
Here's the video:
Questions:
1. Where I put vHitsEffects script on Enemy? 2. Where I put AudioSource? Should I use AudioSource prefab from the package?
|
|
|
Post by Invector on Mar 5, 2018 15:25:52 GMT
You can add the vHitEffects at the same bone of the vMeleeAttackObject which is located under the VBOT_:RightForeArm in the Melee demo scene, you can also set what AudioSource you want to use in the component.
|
|