/// <summary> /// 显示点线面 /// </summary> public void ShowPointLinePlane(ShowPointLinePlaneState showPointLinePlaneState) { //Debug.Log("调用" + showPointLinePlaneState); //if (ShowState != null) //{ // ShowState(showPointLinePlaneState); //} ////隐藏 二层级 //if (UI_Manger.Instance != null) //{ // UI_Manger.Instance.TwoMenu_ShowList.SetActive(false); //} }
private void Instance_ShowState(ShowPointLinePlaneState args) { switch (args) { case ShowPointLinePlaneState.Point: ChangePointMode(); break; case ShowPointLinePlaneState.Line: ChangeLineMode(); break; case ShowPointLinePlaneState.Plane: ChangeCellMode(); break; default: break; } }