My euler is not working

for some reason I am getting the error
Assets/Scripts/Camera Scripts/FlyCamera.cs(17,27): error CS0426: The nested type Euler' does not exist in the type UnityEngine.Quaternion’

su image- it happens everywhere I use Quaternion.Euler in the script, what am I doing wrong?

Quaternion.Euler is not a nested type, it’s a static method which returns a Quaternion.

If you want to declare a rotation variable, declare it as Quaternion

public Quaternion newRotation;

The method “Euler” creates a new quaternion value out of the given euler angles:

newRotation = Quaternion.Euler(0,45,0);