미흡사항 수정
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -23,6 +23,10 @@ public class MissionGenerator : MonoBehaviour, ISceneInitializable
|
||||
[SerializeField, Range(0f, 1f)] private float _budgetMarginMin = 0.20f;
|
||||
[SerializeField, Range(0f, 1f)] private float _budgetMarginMax = 0.30f;
|
||||
|
||||
// 테스트용 — 여기에 추가된 ProductGroup은 미션 후보에서 자동 제외
|
||||
[Header("Excluded Groups (Test)")]
|
||||
[SerializeField] private List<ProductGroup> _excludedGroups = new List<ProductGroup>();
|
||||
|
||||
[Header("References")]
|
||||
[SerializeField] private ShoppingOrderView _orderView;
|
||||
[SerializeField] private PlayerWallet _wallet;
|
||||
@@ -40,7 +44,7 @@ public void Generate()
|
||||
return;
|
||||
}
|
||||
|
||||
// 1. 씬의 모든 상품을 ProductGroup별로 집계 (None과 ItemData 누락은 제외)
|
||||
// 1. 씬의 모든 상품을 ProductGroup별로 집계 (None, 제외 그룹, ItemData 누락은 제외)
|
||||
var stockByGroup = new Dictionary<ProductGroup, List<ItemData>>();
|
||||
var allItems = Object.FindObjectsByType<ItemInstance>(FindObjectsSortMode.None);
|
||||
foreach (var inst in allItems)
|
||||
@@ -48,6 +52,7 @@ public void Generate()
|
||||
var data = inst.ItemDataInfo;
|
||||
if (data == null) continue;
|
||||
if (data.ProductGroup == ProductGroup.None) continue;
|
||||
if (_excludedGroups.Contains(data.ProductGroup)) continue;
|
||||
|
||||
if (!stockByGroup.TryGetValue(data.ProductGroup, out var list))
|
||||
{
|
||||
|
||||
@@ -125,9 +125,9 @@ AudioMixerSnapshotController:
|
||||
m_SnapshotID: 57a15260ec480004cbc2848cc0a4f36e
|
||||
m_FloatValues:
|
||||
deddcfb1a56f5d242acae971cdf41a2a: 5.2093163
|
||||
ba018e28170e108488d70eb228687256: 0
|
||||
bf4e0b98dc2a8ee4788d43c4a5079348: -11.578034
|
||||
a5d0c469bd35ff94ca00b3135bb684dc: -11.578034
|
||||
ba018e28170e108488d70eb228687256: 3.704152
|
||||
bf4e0b98dc2a8ee4788d43c4a5079348: -20.1512
|
||||
a5d0c469bd35ff94ca00b3135bb684dc: -20.1512
|
||||
m_TransitionOverrides: {}
|
||||
--- !u!244 &2045488911297964458
|
||||
AudioMixerEffectController:
|
||||
|
||||
Reference in New Issue
Block a user