using System.Collections; using System.Collections.Generic; using UnityEngine; public class ToggleDots : MonoBehaviour { static void ToggleOn(string dot) { GameObject orb = GameObject.Find(dot); orb.SetActive(true); } static void ToggleOff(string dot) { GameObject orb = GameObject.Find(dot); orb.SetActive(false); } }