Gun spread overlay (#8588)

This commit is contained in:
metalgearsloth
2022-06-04 14:19:14 +10:00
committed by GitHub
parent 27b3ca04c5
commit e06cabecbb
7 changed files with 142 additions and 4 deletions

View File

@@ -56,13 +56,13 @@ public class GunComponent : Component
/// <summary>
/// The maximum angle allowed for <see cref="CurrentAngle"/>
/// </summary>
[ViewVariables, DataField("maxAngle")]
[ViewVariables(VVAccess.ReadWrite), DataField("maxAngle")]
public Angle MaxAngle = Angle.FromDegrees(2);
/// <summary>
/// The minimum angle allowed for <see cref="CurrentAngle"/>
/// </summary>
[ViewVariables, DataField("minAngle")]
[ViewVariables(VVAccess.ReadWrite), DataField("minAngle")]
public Angle MinAngle = Angle.FromDegrees(1);
#endregion