dots created, toggle methods created

This commit is contained in:
Amanda Illig
2018-10-09 00:58:58 -04:00
parent d9eb2a9763
commit 2a4e1216e8
5 changed files with 303 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
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);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9213a906c4bf7e743a6a93cd31e56ae8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: