public void TransitionAct() { IncrementCartridge.Rotate(ref c_activeData.i_currentPreviewIndex, 1, c_previewData.PreviewShots.Count); c_positionData.q_currentRotation = Quaternion.Euler(c_previewData.PreviewShots[c_activeData.i_currentPreviewIndex].CameraAngle); c_positionData.v_currentPosition = c_previewData.PreviewShots[c_activeData.i_currentPreviewIndex].StartPosition; c_activeData.f_currentShotTime = Constants.ZERO_F; }
public void TransitionAct() { int activeIndex = c_activeData.i_activeMenuItemIndex; IncrementCartridge.Rotate(ref activeIndex, c_activeData.i_menuDir, c_activeData.i_menuItemCount, 0); c_activeData.i_activeMenuItemIndex = activeIndex; c_activeData.f_currentMenuTickCount = Constants.ZERO_F; }