C
C#•2y 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•2y ago
SinFluxx
SinFluxx•2y ago
You should have using UnityEngine.Events; I believe
Hex_Tv
Hex_TvOP•2y ago
ok but i have another question my another script is fine but i haven t anythings on my component
Hex_Tv
Hex_TvOP•2y ago
Hex_Tv
Hex_TvOP•2y ago
i fixed it before alot time but ty
SinFluxx
SinFluxx•2y ago
Why did you post it here then 😆
Hex_Tv
Hex_TvOP•2y ago
idk i need wait again 4h xDDD
SinFluxx
SinFluxx•2y ago
Not really sure what your other problem is
Hex_Tv
Hex_TvOP•2y ago
see my script
Hex_Tv
Hex_TvOP•2y ago
Hex_Tv
Hex_TvOP•2y ago
i have [SerializeField]
Hex_Tv
Hex_TvOP•2y ago
but nothing here
SinFluxx
SinFluxx•2y ago
You might be better off asking in $unity

Did you find this page helpful?