Beispiel #1
0
    public void OnPointerClick(PointerEventData eventData)
    {
        if (RecipeData_Master.Count == 1)
        {
            RecipeData recipeData = RecipeData_Master[0];

            recipeData.Purchase();

            CreatePopUpText(recipeData.ToString());
        }
    }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 private void OnClick(RecipeData recipe)
 {
     recipe.Purchase();
 }