Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

3.5.1f2

Issue ID

459986

Regression

No

CollisionFlags.Below C# example fails to compile

Docs - Infrastructure

-

http://unity3d.com/support/documentation/ScriptReference/CollisionFlags.Below.html

C# example should be:

if ((controller.collisionFlags & CollisionFlags.Below) != 0)

rather than:
if (controller.collisionFlags & CollisionFlags.Below)

It doesn't compile as is.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.