Skip to main content

Adding Sound Effects

Adding Sound Effects can be done relatively easy and there are two main ways of doing it.

GameObject Toggle

Some Cooking Fields have toggles under them. For example the StoveTop and Oven both have GameObject Toggles under them. If you put a new GameObject with a sound as a child of the Toggling Object it will play the sound! As long as you have Play On Awake Enabled

Getting Variables

The Cooking Fields all have scripts with public variables. It should be possible to get those variables and play sounds or do things when those variables are set to true/false. All you'd need to do is create a graph udon behavior and do the following: Advanced Variable

Now the variable currentlycooking can be easily manipulated to do anything you want! You can play an oven cooking sound when currentlycooking is set to true, or a beep sound when a separate variable donecooking is set to true!

Current Cooking Field Variable Names:

currentlycooking
donecooking

Make sure you copy them to the letter.

info

THIS HAS BEEN PROVEN TO WORK