Click und Anfang der Prefabisierung
This commit is contained in:
parent
0606b1936d
commit
543b35567a
|
@ -8,6 +8,12 @@ using Utility;
|
|||
|
||||
public class CoffeeMachine : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
private AudioClip _buttonClick;
|
||||
|
||||
[SerializeField]
|
||||
private AudioSource _audioSource;
|
||||
|
||||
[SerializeField]
|
||||
private List<CoffeePlace> _coffeePlaces = new();
|
||||
|
||||
|
@ -19,7 +25,7 @@ public class CoffeeMachine : MonoBehaviour
|
|||
|
||||
public void CookCoffee()
|
||||
{
|
||||
// TODO: Play beep sound
|
||||
_audioSource.PlayOneShot(_buttonClick);
|
||||
|
||||
if (_isCooking)
|
||||
return;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -0,0 +1,23 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 2892c69694b7d7a41b996417f274c16f
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 7
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 44100
|
||||
compressionFormat: 1
|
||||
quality: 1
|
||||
conversionMode: 0
|
||||
preloadAudioData: 0
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 1
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in New Issue