This file contains hidden or 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 UnityEngine; | |
public class Ball : MonoBehaviour | |
{ | |
[SerializeField][Range(1, 100)] private float _force = 5; | |
[SerializeField] private float _radius = 0.5f; | |
private Rigidbody _rigidbody; | |
public float Radius => _radius; | |
OlderNewer