Alpha commit
This commit is contained in:
17
Jump Game/Assets/Scripts/Player/Player.cs
Normal file
17
Jump Game/Assets/Scripts/Player/Player.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Player : MonoBehaviour
|
||||
{
|
||||
|
||||
public static Rigidbody2D rbody;
|
||||
|
||||
public static float movementSpeed;
|
||||
public static float jumpForce;
|
||||
|
||||
void Start()
|
||||
{
|
||||
rbody = GameObject.FindWithTag("Player").GetComponent<Rigidbody2D>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user