チュートリアル時の調理成功時、ポップコーンが大成功になってしまうのを修正
This commit is contained in:
parent
84ca6636e8
commit
8fb3833061
|
|
@ -62,7 +62,14 @@ public class CookingResult : MonoBehaviour
|
|||
centerOkButton.OnClickAsObservable().Subscribe(_ =>
|
||||
{
|
||||
// 獲得、遷移
|
||||
AddStock(productData, rarityData.Rarity);
|
||||
if (resultData == CornResult.Perfect)
|
||||
{
|
||||
AddStock(productData, rarityData.Rarity);
|
||||
}
|
||||
else
|
||||
{
|
||||
AddStock(productData);
|
||||
}
|
||||
TransitionManager.Instance.LoadScene(GameScenes.Main);
|
||||
}).AddTo(this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue