出店演出のカスタマイズ店舗表示を修正
This commit is contained in:
parent
aadd4e3f94
commit
4b2649b60b
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using MyGame.Scenes.marketing.Scripts;
|
||||
using UniRx;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
@ -14,9 +15,15 @@ namespace MyGame.Scenes.WorldMap.Scripts
|
|||
[SerializeField] private Animator backgroundAnimator;
|
||||
[SerializeField] private Button closeButton;
|
||||
[SerializeField] private Text titleText;
|
||||
[SerializeField] private MarketView marketView;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
marketView.SetAllItem();
|
||||
marketView.transform.FindAllChildrensComponent<SpriteRenderer>(r =>
|
||||
{
|
||||
r.maskInteraction = SpriteMaskInteraction.VisibleInsideMask;
|
||||
});
|
||||
var (cityData, onClose) = LocalCacheManager.Load<(CityData, Action)>(CallbackTag);
|
||||
LocalCacheManager.Remove(CallbackTag);
|
||||
closeButton.OnClickAsObservable().Take(1).Subscribe(_ =>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue