19 lines
398 B
C#
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);
|
|||
|
}
|
|||
|
|
|||
|
}
|