Hi, I dont know how I should call this thread. I have a problem with my 2D Game.
I am watching the 2D Platformer course from Brackeys. Now I am at Episode 19, but I stuck because of an annoying problem. I even downloaded the scripts but there is still this problem. The “Enemy” script has an error because it can´t find the type “StatusIndicator”. Thats actually not possible, because I have that script and did this “public class StatusIndicator : MonoBehaviour” at the top of the script . How can I solve it? The error appears in these lines, because I am trying to acces “StatusIndicator” which doesn´t exist for the system…
[Header(“Optional: “)]
[SerializeField]
private StatusIndicator statusIndicator;
The first underlined StatusIndicator shows the error. But I have the exact same Script as Brackeys, called StatusIndicator, in my game. Here are the two scripts
Can you guys help me? Thanks a lot
-Muegge01