Beispiel #1
0
    void ShowObject(GameObject toShow)
    {
        WallScript block = null;

        if (toShow != null)
        {
            block = toShow.GetComponent <WallScript>();
        }
        if (block != null)
        {
            block.Show();
        }
    }