一時的にレシピ全開放
This commit is contained in:
		
							parent
							
								
									2b29cf4e55
								
							
						
					
					
						commit
						3818458d9a
					
				|  | @ -49,7 +49,7 @@ public class RecipeSelectDialog : MonoBehaviour | |||
|             var view = Instantiate(recipePrefab, content.transform); | ||||
|             view.SetRecipe(productData); | ||||
|             // 所持レシピ確認 | ||||
|             if (gameData.MyRecipes.Contains(productData.id)) | ||||
|             // if (gameData.MyRecipes.Contains(productData.id)) | ||||
|             { | ||||
|                 view.SetLockPanel(false); | ||||
|                 view.RecipeClickObservable.ThrottleFirst(TimeSpan.FromSeconds(.3f)).Subscribe(_ => | ||||
|  | @ -58,10 +58,10 @@ public class RecipeSelectDialog : MonoBehaviour | |||
|                     RecipeDetailView.ShowDialog(); | ||||
|                 }).AddTo(this); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 view.SetLockPanel(true); | ||||
|             } | ||||
|             // else | ||||
|             // { | ||||
|             //     view.SetLockPanel(true); | ||||
|             // } | ||||
|         } | ||||
|         LayoutRebuilder.ForceRebuildLayoutImmediate(content); | ||||
|         scrollRect.verticalNormalizedPosition = 1; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue