static void A() { EditorInputDialog.Display("test", string.Empty, pValue => { Debug.Log(pValue); }, pOkCloseView: false); }
static void StepPlay() { EditorInputDialog.Display("请输入延迟时间(>=0)", mStepTime.ToString(), pText => { var tDelayTime = 0F; if (float.TryParse(pText, out tDelayTime) && tDelayTime >= 0) { StepPlayLogic(tDelayTime); } else { Debug.LogError("输入有误"); } }, () => { CancelStepPlay(); }, false, "重新播放延迟", "取消延迟", false, false); }