Skip to content

Commit

Permalink
fix: Address PR comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
freezy committed Jun 27, 2022
1 parent 8aad326 commit 01d8657
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public override void OnInspectorGUI()
{
serializedObject.Update();

EditorGUILayout.PropertyField(_angleProperty, new GUIContent("Lifting Angle"));
EditorGUILayout.PropertyField(_angleProperty, new GUIContent("Lifted Angle"));
EditorGUILayout.PropertyField(_speedProperty);

serializedObject.ApplyModifiedProperties();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ public class ScoreReelComponent : MonoBehaviour
{
public enum ScoreReelDirection
{
up, down
Up, Down
}

[Tooltip("In which direction the reel rotates, when looking from the front.")]
public ScoreReelDirection Direction = ScoreReelDirection.down;
public ScoreReelDirection Direction = ScoreReelDirection.Down;

[HideInInspector]
public float Speed = 1;
Expand All @@ -43,7 +43,7 @@ public enum ScoreReelDirection

private float _currentRotation;

private bool _isRotatingDown => Direction == ScoreReelDirection.down;
private bool _isRotatingDown => Direction == ScoreReelDirection.Down;

public void AnimateTo(int position)
{
Expand Down

0 comments on commit 01d8657

Please sign in to comment.