Hello,
I am receiving Error CS005.
I don’t understand why since everything is public
Your currentWave is private. Make it public and you should be good to go.
I have tried that once I remove serliazefield and put public instead I receive the same error message.
Yonatan
Doesn’t sound right.
Are the fields in currentWave also public?
FYI, you can keep the SerializeField, even if it’s public. It doesn’t do anything, but you can either way.
Hi again (and thank you),
I am attaching the whole script maybe you will see a problem I missed
Thank you
As I’ve already said, line 10 needs to be public, but you effectively said I was wrong. This assumes you still have the same error.
For more information see https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0050
I have tried what you said with line 10 and it didn’t work.
But I was able to solve it, I made an error and I found that waveconfigSO wasn’t public.
Thank you very much much for your help and patience.