bool CallBackSkipLine(WndManager.MSGBOX_BTN _btn) { if (_btn == WndManager.MSGBOX_BTN.YES) { m_CurMoveIdx = m_CurLine.moveList.Count; checkEndLine(); } return(true); }
// bool CallBackSave(WndManager.MSGBOX_BTN _btn) // { // if (_btn == WndManager.MSGBOX_BTN.YES) // { // saveLine(); // } // // return true; // } // bool CallBackExit(WndManager.MSGBOX_BTN _btn) { if (_btn == WndManager.MSGBOX_BTN.YES) { backToPrevPage(); } return(true); }
bool CallBackSave(WndManager.MSGBOX_BTN _btn) { if (_btn == WndManager.MSGBOX_BTN.YES) { saveLine(); } return(true); }
bool CallBackSaveAndExit(WndManager.MSGBOX_BTN _btn) { if (_btn == WndManager.MSGBOX_BTN.YES) { saveLine(); } WndManager.Singleton.OpenLibraryPage(line.parent.name); return(true); }
bool CallBackExit(WndManager.MSGBOX_BTN _btn) { if (_btn == WndManager.MSGBOX_BTN.YES) { #if UNITY_EDITOR EditorApplication.isPlaying = false; #else Application.Quit(); #endif } return(true); }
bool CallBackRemove(WndManager.MSGBOX_BTN _btn) { if (_btn == WndManager.MSGBOX_BTN.YES) { List <string> lineList = new List <string>(); int i; for (i = 0; i < cells.Count; i++) { if (cells[i].GetComponent <Toggle>().isOn) { lineList.Add(library.lines[i].name); } } for (i = 0; i < lineList.Count; i++) { library.RemoveLine(lineList[i]); } UpdateWnd(); SetToggleMode(false); } return(true); }
bool CallBackIncorrectMove(WndManager.MSGBOX_BTN _btn) { moveNextMove(); return(true); }
bool CallBackNewLine(WndManager.MSGBOX_BTN _btn) { startNewLine(); return(true); }
bool CallBackEnd(WndManager.MSGBOX_BTN _btn) { backToPrevPage(); return(true); }