using UnityEngine; public class UniStormEventSystem : MonoBehaviour { public UniStormWeatherSystem_C uniStormSystem; public GameObject uniStormObject; public int intToString; public string variableName; public string stringToAlter; public int intToAlter; public float floatToAlter; public int eventType; public string tagName; public string code; private void Start() { uniStormObject = GameObject.Find("UniStormSystemEditor"); uniStormSystem = uniStormObject.GetComponent(); if (intToString == 0) { variableName = "weatherForecaster"; } if (intToString == 1) { variableName = "temperature"; } if (intToString == 2) { variableName = "minuteCounter"; } if (intToString == 3) { variableName = "hourCounter"; } if (intToString == 4) { variableName = "dayCounter"; } } private void Update() { if (intToString != 0) { } } }