FittsLaw/Assets/Scripts/ToggleDots.cs
2018-10-09 00:58:58 -04:00

19 lines
398 B
C#

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);
}
}