|
@@ -213,10 +213,11 @@ namespace GFGGame
|
|
|
GGraph holder = comBox.m_btnBuyTen.GetChild("holder").asGraph;
|
|
|
holder.visible = boxId != LuckyBoxDataManager.BOX_ID_3;
|
|
|
comBox.m_holder.visible = boxId != LuckyBoxDataManager.BOX_ID_3;
|
|
|
+
|
|
|
string resPath0 = ResPathUtil.GetViewEffectPath("ui_LuckyBox", "Button_Glow");
|
|
|
- SceneController.AddObjectToView(null, null, holder, resPath0, out _gameObject0, out _wrapper0);
|
|
|
+ SceneController.AddObjectToView(_gameObject0, _wrapper0, holder, resPath0, out _gameObject0, out _wrapper0);
|
|
|
string resPath1 = ResPathUtil.GetViewEffectPath("ui_LuckyBox", "but_text_dc");
|
|
|
- SceneController.AddObjectToView(null, null, comBox.m_holder, resPath1, out _gameObject1, out _wrapper1);
|
|
|
+ SceneController.AddObjectToView(_gameObject1, _wrapper1, comBox.m_holder, resPath1, out _gameObject1, out _wrapper1);
|
|
|
|
|
|
comBox.m_txtOwned.SetVar("v1", "" + count).FlushVars();
|
|
|
comBox.m_txtOwned.SetVar("v2", "" + totalCount).FlushVars();
|