Severity Code Description Project File Line Suppression State Error CS0029 Cannot implicitly convert type 'PlayerHealth' to 'UnityEngine.ParticleSystem' Assembly-CSharp.Player C:\survival game\Assets\EnemyAttack.cs 13 Active
NG3 nour
21
Reputation points
Hello, I made a game on Unity 3D, and I used to make the player's health and make the enemy kill him, but this error appeared to me (the enemy I imported it from unity asset store and I did not create it, and he is supposed to have something like a hammer and he has an animation to hit with it, but I did not know how to do it The merging comes from the hammer, and this script is for merging a weapon.)
Developer technologies C#
11,567 questions
Sign in to answer