提交
This commit is contained in:
@@ -10,6 +10,7 @@ using BingoBrain.Core;
|
||||
using FGUI.ACommon;
|
||||
using FairyGUI;
|
||||
using BingoBrain.HotFix;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
@@ -52,6 +53,7 @@ namespace BingoBrain
|
||||
|
||||
protected override void OnOpenBefore(object args)
|
||||
{
|
||||
broad_text = Regex.Replace(GameHelper.getDesByKey("makeup_4"), @"<img\s+[^>]*?/>", "<img src='ui://pmf3wbjidz5jpj6'/>");
|
||||
InitView();
|
||||
//ui.y = 241;
|
||||
|
||||
@@ -121,14 +123,14 @@ namespace BingoBrain
|
||||
|
||||
// var sk = FX.Instance.SetFx<SkeletonAnimation>(ui.broad_cast_text.bg_panel, Fx_Type.fx_broad, closeCallback);
|
||||
// sk.state.SetAnimation(0, "animation", true);
|
||||
FX.Instance.SetFx<SkeletonAnimation>(ui.broad_cast_text.bg_panel, Fx_Type.fx_broad, sk =>
|
||||
{
|
||||
// ske_pot = sk;
|
||||
// FX.Instance.SetFx<SkeletonAnimation>(ui.broad_cast_text.bg_panel, Fx_Type.fx_broad, sk =>
|
||||
// {
|
||||
// // ske_pot = sk;
|
||||
|
||||
// NAAVsa.AddCompleteEvent(cardSpine, OnChangeCardFinish);
|
||||
// OnChangeCardFinish(null);
|
||||
NAAVsa.PlayAnim(sk, "animation", true);
|
||||
}, closeCallback);
|
||||
// // NAAVsa.AddCompleteEvent(cardSpine, OnChangeCardFinish);
|
||||
// // OnChangeCardFinish(null);
|
||||
// NAAVsa.PlayAnim(sk, "animation", true);
|
||||
// }, closeCallback);
|
||||
|
||||
// ui.group_.y = 220;
|
||||
|
||||
@@ -166,6 +168,7 @@ namespace BingoBrain
|
||||
{
|
||||
ui.group_.y = GRoot.inst.height - 300;
|
||||
}
|
||||
string broad_text = "";
|
||||
void timeEvent()
|
||||
{
|
||||
time_count++;
|
||||
@@ -188,8 +191,9 @@ namespace BingoBrain
|
||||
// }
|
||||
|
||||
// time_count = 0;
|
||||
//[color=#63f021][size=32]{0}[/size][/color] claimed <img src='ui://pmf3wbji112epi7'/>[color=#009900][size=36]{1} [/size][/color][color=#efc26b][size=22]{2}[/size][/color]
|
||||
|
||||
|
||||
// Debug.Log(GameHelper.getDesByKey("makeup_4"));
|
||||
//Debug.Log($"barry broad time count======== {time_count}");
|
||||
if (time_count > 20)
|
||||
{
|
||||
@@ -203,9 +207,12 @@ namespace BingoBrain
|
||||
{
|
||||
name = name[..4] + "...";
|
||||
}
|
||||
// text_ui.hide_text.text = GameHelper.getDesByKey("makeup_4");
|
||||
string broad_text = String.Format(GameHelper.getDesByKey("makeup_4"), name, GameHelper.Get102Str_new(decimal.Parse( config_money_list[money_index])), DateTimeBoardk.Instance.GetCurrDateTime());
|
||||
text_ui.cast_text.text = broad_text;
|
||||
// text_ui.hide_text.text = GameHelper.getDesByKey("makeup_4");
|
||||
|
||||
|
||||
|
||||
string temp_text = String.Format(broad_text, name, GameHelper.Get102Str_new(decimal.Parse(config_money_list[money_index])), DateTimeBoardk.Instance.GetCurrDateTime());
|
||||
text_ui.cast_text.text = temp_text;
|
||||
ui.t0.Play();
|
||||
|
||||
DOVirtual.DelayedCall(3.5f, () =>
|
||||
|
||||
Reference in New Issue
Block a user