Can't Add Script error

Following along at the 2:20 mark Rick creates a new script , Enemy Spawner, and drags this new script to the Enemy Spawner object in the hierarchy.

When I do this I get an error message that says: “Can’t add script. Can’t add script behavior AssemblyInfo. The script needs to derive from Monobehavior.”

I’m using Unity version 2018.3.

Any help is greatly appreciated.

*Edit. Neveremind. Big dummy accidentally added a space between words. Works fine now.

I’m glad you’ve found the solution. :slight_smile:

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

Privacy & Terms