public class TransformController : MonoBehaviour
{
[SerializeField] private float rotSpeed = 25f;
public Transform axisTransform;
void Start()
{
}
void Update()
{
transform.RotateAround(axisTransform.transform.position, Vector3.up, rotSpeed * Time.deltaTime);
}
}