Files
fracturepoint/.FROMOLDPROJECTPLEASEORGANISETHESEORDELETE/Scripts/WorldScripts/CurrentSector.cs
2026-01-21 10:56:26 -07:00

19 lines
462 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Designed by Jacob Weedman
//Belongs to the "CurrentSector" GameObject in the "LevelSelector" scene
//V 0.0.1
public class CurrentSector : MonoBehaviour
{
void Update()
{
if (GameObject.Find("GameData").GetComponent<GameData>().CurrentSector != "0")
{
tag = GameObject.Find("GameData").GetComponent<GameData>().CurrentSector;
}
}
}