I honestly don’t see the problem here
Well, you’ve created a class called ScreenOrientation, and it doesn’t contain a member called LandscapeLeft…
In other words, don’t name your own scripts the same as any of Unity’s built-in classes