Skip to content

Instantly share code, notes, and snippets.

View pashagray's full-sized avatar

Pavel Tkachenko pashagray

View GitHub Profile
@pashagray
pashagray / Ball.cs
Last active February 25, 2025 10:02
Homework-6-7
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;