Add pause menu and fix static data dulpication when loading scenes
This commit is contained in:
parent
0849fcfde7
commit
e4706c7a42
11 changed files with 992 additions and 2 deletions
|
@ -8,6 +8,11 @@ public class BaseCounter : MonoBehaviour, IKitchenObjectParent
|
|||
|
||||
public static event EventHandler OnAnyObjectPlaced;
|
||||
|
||||
public static void ResetStaticData()
|
||||
{
|
||||
OnAnyObjectPlaced = null;
|
||||
}
|
||||
|
||||
[SerializeField] private Transform counterTopPoint;
|
||||
|
||||
private KitchenObject kitchenObject;
|
||||
|
|
Reference in a new issue