private void Start() { menu = GetComponent <SimpleSideMenu>(); Debug.Assert(objectName != null); Debug.Assert(RobotsList != null); Debug.Assert(EndEffectorList != null); Debug.Assert(NextButton != null); Debug.Assert(PreviousButton != null); Debug.Assert(FocusObjectDoneButton != null); Debug.Assert(StartObjectFocusingButton != null); Debug.Assert(SavePositionButton != null); Debug.Assert(CurrentPointLabel != null); Debug.Assert(RobotsListsBlock != null); Debug.Assert(UpdatePositionBlockMesh != null); Debug.Assert(UpdatePositionBlockVO != null); Debug.Assert(VisibilitySlider != null); Debug.Assert(InputDialog != null); Debug.Assert(ConfirmationDialog != null); List <string> pivots = new List <string>(); foreach (string item in Enum.GetNames(typeof(PivotEnum))) { pivots.Add(item); } PivotList.PutData(pivots, "Middle", OnPivotChanged); }
private void Start() { Debug.Assert(RobotsList != null); Debug.Assert(EndEffectorList != null); Debug.Assert(NextButton != null); Debug.Assert(PreviousButton != null); Debug.Assert(FocusObjectDoneButton != null); Debug.Assert(StartObjectFocusingButton != null); Debug.Assert(SavePositionButton != null); Debug.Assert(CurrentPointLabel != null); Debug.Assert(RobotsListsBlock != null); Debug.Assert(UpdatePositionBlockMesh != null); Debug.Assert(UpdatePositionBlockVO != null); List <string> pivots = new List <string>(); foreach (string item in Enum.GetNames(typeof(PivotEnum))) { pivots.Add(item); } PivotList.PutData(pivots, "Middle", OnPivotChanged); }