// Start is called before the first frame update void Awake() { if (!makeLocal) { instance = this; } csv.Parse(csvDataFile.ToString()); }
// Start is called before the first frame update void Start() { if (sourceOverride == null) { sourceOverride = SystemCSVDataHolder.instance; } if (displayAsTextMeshPro == null) { displayAsTextMeshPro = this.GetComponent <TextMeshProUGUI>(); } if (displayAsTextMeshPro != null) { displayAsTextMeshPro.SetText(sourceOverride.GetCSVData(sourceGroup)); } }