using System.Collections;
using System.Collections.Generic;
public class Orbit : MonoBehaviour
public GameObject target;
public float degreesPerSecond = 5;
transform.RotateAround(target.transform.position, new Vector3(0,1,0), degreesPerSecond * Time.deltaTime);