public void Display() { GUI.DrawTextureWithTexCoords(new Rect(0, 0, Screen.width, Screen.height), m_grassTexture, new Rect(0, 0, 8.0f, 8.0f)); if (Active) { DisplayStatusBar(); } GUI.BeginGroup(m_parentRect); foreach (Vector2 hole in m_holes) { GUI.DrawTexture(new Rect(hole.x - m_holeTexture.width / 2.0f, hole.y - m_holeTexture.height / 2.0f, m_holeTexture.width, m_holeTexture.height), m_holeTexture); } m_player.Display(); m_hunter.Display(); foreach (IItem item in m_treats) { item.Display(); } GUI.EndGroup(); }