C
C#•17mo ago
Hex_Tv

I have error in Unity EnemySpawner Script c#

Assets\Code\Scripts\EnemySpawnerr.cs(18,19): error CS0246: The type or namespace name 'UnityEvent' could not be found (are you missing a using directive or an assembly reference?)
14 Replies
Hex_Tv
Hex_TvOP•17mo ago
SinFluxx
SinFluxx•17mo ago
You should have using UnityEngine.Events; I believe
Hex_Tv
Hex_TvOP•17mo ago
ok but i have another question my another script is fine but i haven t anythings on my component
Hex_Tv
Hex_TvOP•17mo ago
Hex_Tv
Hex_TvOP•17mo ago
i fixed it before alot time but ty
SinFluxx
SinFluxx•17mo ago
Why did you post it here then 😆
Hex_Tv
Hex_TvOP•17mo ago
idk i need wait again 4h xDDD
SinFluxx
SinFluxx•17mo ago
Not really sure what your other problem is
Hex_Tv
Hex_TvOP•17mo ago
see my script
Hex_Tv
Hex_TvOP•17mo ago
Hex_Tv
Hex_TvOP•17mo ago
i have [SerializeField]
Hex_Tv
Hex_TvOP•17mo ago
but nothing here
SinFluxx
SinFluxx•17mo ago
You might be better off asking in $unity

Did you find this page helpful?