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
2022-12-04T20:26:26.46+00:00

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#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.