I would like to modify the oscillator script with a permanent variable of 8 to the y axis, rather than enter it manually every time I run the program.
This is what I thought the code would be: Vector3 movementVector(0,8,0);
But it gives me 9 error messages.
What is the code to set up the oscillator to go up and down on Y axis with code rather than by entering the 8 in the Serialized field?
I tried to resolve this by reading the Unity Docs vector3 but with no success .
Thank you