typo public property getter -> readonly

This commit is contained in:
ikpil 2023-12-29 21:07:44 +09:00
parent 19088d31f2
commit b341a41fae
5 changed files with 9 additions and 9 deletions

View File

@ -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)
{ {

View File

@ -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)
{ {

View File

@ -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)
{ {

View File

@ -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)
{ {

View File

@ -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)
{ {