Exemple #1
0
 private void OnGUI()
 {
     if (GUILayout.Button("ShowLine"))
     {
         wireFrame.SwitchToLine(lineRule);
     }
     if (GUILayout.Button("ShowModel"))
     {
         wireFrame.SwitchToModel(modelRule);
     }
 }
Exemple #2
0
 private void Start()
 {
     wireFrame = creater.Create(clamp);
     wireFrame.SwitchToModel(modelRule);
     wireFrame.ReSetSize(sizeRule);
 }