void winTopRight(int id) { if ((FXMakerLayout.m_bMinimizeAll || FXMakerLayout.m_bMinimizeTopMenu) == false) { // Rect zoomRect = NgLayout.GetChildVerticalRect(NgLayout.GetMenuTopRightRect(), 0, 3, 0, 1); Rect gridRect = FXMakerLayout.GetChildVerticalRect(FXMakerLayout.GetMenuTopRightRect(), 0, 3, 0, 3); // if (GUI.Button(NgLayout.GetInnerHorizontalRect(zoomRect, 2, 0, 1), NgTooltip.GetHcToolEffect("Zoom/2"))) // FXMakerMain.inst.GetFXMakerMouse().SetDistance(0.5f); // if (GUI.Button(NgLayout.GetInnerHorizontalRect(zoomRect, 2, 1, 1), NgTooltip.GetHcToolEffect("Zoom*2"))) // FXMakerMain.inst.GetFXMakerMouse().SetDistance(2.0f); m_nCameraAngleIndex = GUI.SelectionGrid(gridRect, m_nCameraAngleIndex, FXMakerTooltip.GetHcToolEffect_Camera(), 2); if (GUI.changed) { FXMakerMain.inst.GetFXMakerMouse().ChangeAngle(m_nCameraAangleValues[m_nCameraAngleIndex]); // 마지막 선택정보 저장 UnityEditor.EditorPrefs.SetInt("FXMakerEffect.m_nCameraAngleIndex", m_nCameraAngleIndex); } } FXMakerMain.inst.SaveTooltip(); }