Skip to content

Commit 618383e

Browse files
authored
Update ThrowMechanism.cs
1 parent 7496444 commit 618383e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Assets/Scripts/ThrowMechanism.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
public class ThrowMechanism : MonoBehaviour
44
{
5-
public Rigidbody2D arm; // Rigidbody of the throwing arm
6-
public float torqueForce = 500f; // Amount of rotational force
7-
8-
5+
[SerializeField] private Rigidbody2D arm; // Rigidbody of the throwing arm
6+
[SerializeField] private float torqueForce = 500f; // Amount of rotational force
97
}

0 commit comments

Comments
 (0)