// Color matchTextColor = UnityEngine.Color.green; // Color nonTextMatchColor = UnityEngine.Color.red; // Start is called before the first frame update void Start() { occilliscopeManager = FindObjectOfType <OccilliscopeManager>(); if (occilliscopeManager == null) { Debug.LogError("No Occilliscope Manager configured"); } }
// Start is called before the first frame update void Start() { occilliscopeManager = FindObjectOfType <OccilliscopeManager>(); if (occilliscopeManager == null) { Debug.LogError("No Occilliscope Manager configured"); } else { occilliscopeManager.MatchFound += RoundWon; } if (cartsAnimator == null) { Debug.LogError("No animator for round manager"); } }