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