Using a simple C# snippet to rotate GameObjects

The following snippet animates the electrons around the nucleus. using System.Collections; using System.Collections.Generic; using UnityEngine; public class rotate : MonoBehaviour {     public GameObject sphereOne;     void Update ()     {         transform.RotateAround(sphereOne.transform.position, sphereOne.transform.up, 100*Time.deltaTime);     } }