private void OnDragEnd() { if (Math.Abs(distance) > minLenghtTrajectory) { ball.GetComponent <AudioSource>().Play(); ball.ActiveRigidbody(); ball.Push(force * 2); trajectory.Hide(); rings[0].GetComponent <RingStatus>().Grid.transform.localScale = new Vector3(1f, 1f, 1f); rings[1].GetComponent <RingStatus>().Grid.transform.localScale = new Vector3(1f, 1f, 1f); } }