1
Fork 0
mirror of https://github.com/Steffo99/bleach-beach.git synced 2024-12-04 19:04:19 +00:00
bleach-beach/Assets/Scripts/RampinoTester.cs
2018-08-11 17:58:34 +02:00

22 lines
365 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RampinoTester : MonoBehaviour
{
public Rigidbody2D rb;
void Start()
{
rb = GetComponent<Rigidbody2D>();
}
void Update()
{
if (Input.GetKey(KeyCode.Space))
{
rb.AddForce(Vector2.up * 20f);
}
}
}