public Pivot(Transform pivotin, float incrementIn, Vector2 bounds)
{
pivot = pivotin;
increment = Mathf.Deg2Rad * incrementIn;
angleMinus = Mathf.Deg2Rad * bounds.y;
anglePlus = Mathf.Deg2Rad * bounds.x;
fullcircle = bounds == Vector2.zero;
parentOrigRef = pivot.parent.InverseTransformPoint(pivot.TransformPoint(Vector3.up));
}