17 lines
343 B
C#
17 lines
343 B
C#
|
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>();
|
|||
|
}
|
|||
|
}
|