Error BCE0051: Operater '==' cannot be used. Please Help!

Hello,

Im getting error BCE0051: Operater ‘==’ cannot be used. I have supplied a picture of the errors I’m getting:

[2499-unity+answers+pic+.4.jpg|2499]

This is the script I’m trying to get working:

[2502-unity+answers+pic+.5.jpg|2502]

If you know how to fix this problem, Please leave a comment below on how to do so.

Regards, Raxis!

RotationAxisRotationXY needs to be typecast as a RotationAxis:

wherever you’re declaring it, say

var RotationAxisRotationXY : RotationAxis = (…etc)

that should fix it