ActionMasterTest

In unity i keep getting “ActionMasterTest.Setup ()” is a method but a type was expected.
Everything was going fine until I created Setup.
I’ve gone over the code with a fine toothed comb, but I’m hoping a fresh pair of eyes might spot something.
Btw, I’m using Unity 5.6 on linux, which up to this point hasn’t posed any issues.
Ill try the code again tomorrow on a windows box.
If I find no joy, I’ll upload the text of both ActionMaster and ActionMasterTest.

Weird. Tried it on windows and got the same result. Copied and pasted the code from the course (cheating I know) and it worked. I can’t see any differences.
I must need bifocals.

What is the case of the course version compared to yours for the attribute [Setup]?

See what i meant about needing bifocals?
Ha ha.
Thanks so much.

1 Like

hehe, just one of those things :slight_smile:

Remember, C# is case-sensitive :slight_smile:

All working now?

Yes. Thanks so much!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms