Exemple #1
0
    // 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");
        }
    }
Exemple #2
0
    // 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");
        }
    }