試食トリガー追加

This commit is contained in:
kimura 2021-12-14 13:47:39 +09:00
parent 227f4c52e5
commit 596d93f133
2 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,8 @@ public class BulkOrder : MonoBehaviour
// カウントリセット
gameData.OrderConditionCount = 0;
GameDataManager.SaveGameData();
// 試食スタート
BrotherPinkView.Instance.StartTasting();
LocalCacheManager.Load<Action>(CancelCallbackTag, null)?.Invoke();
LocalCacheManager.Remove(CancelCallbackTag);
// キャンセルと同時に閉じる

View File

@ -303,6 +303,7 @@ public class ProductManagement : MonoBehaviour
GameDataManager.GameData.AddTastingCustomerCount(tank.Stock);
tank.ClearStock();
GameDataManager.SaveGameData();
BrotherPinkView.Instance.StartTasting();
}
private void OnDestroy()