File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tutorials/scripting/c_sharp Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -355,13 +355,13 @@ Export annotations are also provided for the physics and render layers defined i
355355.. code-block :: csharp
356356
357357 [Export (PropertyHint .Layers2DPhysics )]
358- public int Layers2DPhysics { get ; set ; }
358+ public uint Layers2DPhysics { get ; set ; }
359359 [Export (PropertyHint .Layers2DRender )]
360- public int Layers2DRender { get ; set ; }
360+ public uint Layers2DRender { get ; set ; }
361361 [Export (PropertyHint .Layers3DPhysics )]
362- public int layers3DPhysics { get ; set ; }
362+ public uint Layers3DPhysics { get ; set ; }
363363 [Export (PropertyHint .Layers3DRender )]
364- public int layers3DRender { get ; set ; }
364+ public uint Layers3DRender { get ; set ; }
365365
366366 Using bit flags requires some understanding of bitwise operations.
367367If in doubt, use boolean variables instead.
You can’t perform that action at this time.
0 commit comments