To make the game easier, we will add an "easy mode" where only toppings requested on the order can be placed on the pizza. For example, if the order is for pepperoni and sausage, then you cannot put green pepper or olives on the pizza (in the future, we can have an animation to show this). The event handler should reflect this behaviour by sending the topping request to the order ticket, but the request getting rejected by the ticket object.
In addition, only one topping can be placed at one time (within like 500 ms or something) so the player cannot just hold all their fingers together. Also, take precaution to ensure that the topping request is sent on finger press, and not just hold.
For debugging purposes, add a SerializeField variable named enableToppingInputParsing attached to the GameManager object that enables this feature when set to 1.
To make the game easier, we will add an "easy mode" where only toppings requested on the order can be placed on the pizza. For example, if the order is for pepperoni and sausage, then you cannot put green pepper or olives on the pizza (in the future, we can have an animation to show this). The event handler should reflect this behaviour by sending the topping request to the order ticket, but the request getting rejected by the ticket object.
In addition, only one topping can be placed at one time (within like 500 ms or something) so the player cannot just hold all their fingers together. Also, take precaution to ensure that the topping request is sent on finger press, and not just hold.
For debugging purposes, add a SerializeField variable named enableToppingInputParsing attached to the GameManager object that enables this feature when set to 1.