Skip to content

Commit 4fd9646

Browse files
committed
comment correction
1 parent c9ea944 commit 4fd9646

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/Scripts/Camera/PlayerMovement.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
using System.Collections;
44

55
//Script for moving a gameObject smoothly
6+
//Usage: Attach the character controller component to the gameobject that you want to move
67

78
namespace UnityLibary
89
{
910
public class PlayerMovement : MonoBehaviour
1011
{
11-
//attach the gameobject that you want to move
12+
// place the gameobject that you want to move to the controller placeholder
1213
public CharacterController controller;
1314

1415
public float speed = 5f;

0 commit comments

Comments
 (0)