Exemple #1
0
    private void OnGUI()
    {
        string label = " ";

        if (red.InFallIn() && green.InFallIn() && blue.InFallIn())
        {
            label = "Fall in hole";
        }
        GUI.Label(new Rect(0, 0, 100, 30), label);
    }