This is for google cardboard
Making a rollercoaster game DDDD
You’ve got a method outside of a class. If you create a new script, Unity fills in a default script template for you… don’t delete that; just insert your new method inside the class.
I recommend going through a few of the scripting tutorials; it will save you a ton of time.
I like watching streams to learn C# its more entertaining than mineless tutorials