We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ea944 commit 4fd9646Copy full SHA for 4fd9646
Assets/Scripts/Camera/PlayerMovement.cs
@@ -3,12 +3,13 @@
3
using System.Collections;
4
5
//Script for moving a gameObject smoothly
6
+//Usage: Attach the character controller component to the gameobject that you want to move
7
8
namespace UnityLibary
9
{
10
public class PlayerMovement : MonoBehaviour
11
- //attach the gameobject that you want to move
12
+ // place the gameobject that you want to move to the controller placeholder
13
public CharacterController controller;
14
15
public float speed = 5f;
0 commit comments