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

        if (red.IsFallin() && blue.IsFallin() && green.IsFallin())
        {
            label = "Fall in hole";
        }

        GUI.Label(new Rect(0, 0, 100, 30), label);
    }