jump-game/Jump Game/Assets/Scripts/Player/Player.cs
2020-04-30 00:04:48 +03:00

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>();
}
}