This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using UnityEngine; | |
public class CircularMovement : MonoBehaviour | |
{ | |
[SerializeField] private float _speed = 1f; | |
[SerializeField] private float _radius = 3f; | |
[SerializeField] private float _jumpForce = 2f; | |
[SerializeField] private float _gravity = 5f; | |
[SerializeField] private Transform _center; |