Example #1
0
 private void OnGUI()
 {
     if (GUILayout.Button("ShowLine"))
     {
         wireFrame.SwitchToLine(lineRule);
     }
     if (GUILayout.Button("ShowModel"))
     {
         wireFrame.SwitchToModel(modelRule);
     }
 }