private static void OnButton(out Dialog.DialogImage insertImage, Int32 index, Boolean checkConfig, String tag, String parameterStr) { insertImage = NGUIText.CreateButtonImage(parameterStr, checkConfig, tag); insertImage.TextPosition = index; }
private void OnButton(Int32 characterIndex, Boolean checkConfig, String tag, String parameterStr) { Dialog.DialogImage dialogImage = NGUIText.CreateButtonImage(parameterStr, checkConfig, tag); dialogImage.TextPosition = characterIndex; _dlg.ImageList.Add(dialogImage); }