CS0120 error when trying to instantiate in a class method

Ive been developing an evolution simulation for a school project and its been going pretty well up to this point. However, when writing out the method to spawn a creature from the creature class i have created, i get the CS0120 error

Im able to prevent the error by declaring the gameobject as static but this means i cant assign it the game object which i want it to spawn in as there is no option to do so in the editor.

Can anyone please tell me how i could fix this error and still be able to assign the gameobject in the editor?

Really hard to help when you post a picture of your screen, rather than posting code correctly.

I see a constructor in there AND I see you calling Instantiate() without a Object. prefix.

This makes me think you are writing constructors for a MonoBehaviour-derived class.

Don’t do that. It won’t work. Read online for why. Try this pattern instead:

Factory Pattern in lieu of AddComponent (for timing and dependency correctness):