forked from bit/DotRecastNetSim
typo public property getter -> readonly
This commit is contained in:
parent
19088d31f2
commit
b341a41fae
|
@ -10,7 +10,7 @@ namespace DotRecast.Detour.Extras.Jumplink
|
||||||
public static readonly JumpLinkType EDGE_CLIMB_DOWN = new JumpLinkType(EDGE_CLIMB_DOWN_BIT);
|
public static readonly JumpLinkType EDGE_CLIMB_DOWN = new JumpLinkType(EDGE_CLIMB_DOWN_BIT);
|
||||||
public static readonly JumpLinkType EDGE_JUMP_OVER = new JumpLinkType(EDGE_JUMP_OVER_BIT);
|
public static readonly JumpLinkType EDGE_JUMP_OVER = new JumpLinkType(EDGE_JUMP_OVER_BIT);
|
||||||
|
|
||||||
public int Bit { get; }
|
public readonly int Bit;
|
||||||
|
|
||||||
private JumpLinkType(int bit)
|
private JumpLinkType(int bit)
|
||||||
{
|
{
|
||||||
|
|
|
@ -64,8 +64,8 @@ public class DrawMode
|
||||||
DRAWMODE_POLYMESH_DETAIL
|
DRAWMODE_POLYMESH_DETAIL
|
||||||
);
|
);
|
||||||
|
|
||||||
public int Idx { get; }
|
public readonly int Idx;
|
||||||
public string Text { get; }
|
public readonly string Text;
|
||||||
|
|
||||||
private DrawMode(int idx, string text)
|
private DrawMode(int idx, string text)
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,8 +16,8 @@ namespace DotRecast.Recast.Toolset.Tools
|
||||||
TOGGLE_POLYS
|
TOGGLE_POLYS
|
||||||
);
|
);
|
||||||
|
|
||||||
public int Idx { get; }
|
public readonly int Idx;
|
||||||
public string Label { get; }
|
public readonly string Label;
|
||||||
|
|
||||||
private RcCrowdToolMode(int idx, string label)
|
private RcCrowdToolMode(int idx, string label)
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,8 +12,8 @@ namespace DotRecast.Recast.Toolset.Tools
|
||||||
BUILD, COLLIDERS, RAYCAST
|
BUILD, COLLIDERS, RAYCAST
|
||||||
);
|
);
|
||||||
|
|
||||||
public int Idx { get; }
|
public readonly int Idx;
|
||||||
public string Label { get; }
|
public readonly string Label;
|
||||||
|
|
||||||
private RcDynamicUpdateToolMode(int idx, string label)
|
private RcDynamicUpdateToolMode(int idx, string label)
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,8 +27,8 @@ namespace DotRecast.Recast.Toolset.Tools
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
public int Idx { get; }
|
public readonly int Idx;
|
||||||
public string Label { get; }
|
public readonly string Label;
|
||||||
|
|
||||||
private RcTestNavmeshToolMode(int idx, string label)
|
private RcTestNavmeshToolMode(int idx, string label)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue