Mehr reden
This commit is contained in:
10
3d Prototyp/Assets/Scripts/Utility/GoodVoices.txt
Normal file
10
3d Prototyp/Assets/Scripts/Utility/GoodVoices.txt
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"languageCodes": [
|
||||
"en-AU"
|
||||
],
|
||||
"name": "en-AU-News-G",
|
||||
"ssmlGender": "MALE",
|
||||
"naturalSampleRateHertz": 24000,
|
||||
"pitch": -2
|
||||
}
|
||||
|
||||
7
3d Prototyp/Assets/Scripts/Utility/GoodVoices.txt.meta
Normal file
7
3d Prototyp/Assets/Scripts/Utility/GoodVoices.txt.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 23e2a6475b913ee4b8746739f66bccfe
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
31
3d Prototyp/Assets/Scripts/Utility/WantedConsumable.cs
Normal file
31
3d Prototyp/Assets/Scripts/Utility/WantedConsumable.cs
Normal file
@ -0,0 +1,31 @@
|
||||
using System;
|
||||
|
||||
namespace Utility
|
||||
{
|
||||
[Serializable, Flags]
|
||||
public enum WantedConsumable
|
||||
{
|
||||
None,
|
||||
Food = 0x01,
|
||||
Drink = 0x02,
|
||||
Coffee = Drink | 0x04,
|
||||
Mate = Drink | 0x08,
|
||||
Pizza = Food | 0x10
|
||||
}
|
||||
|
||||
public static class WantedConsumableExtension
|
||||
{
|
||||
|
||||
public static string GetAsString(this WantedConsumable wantedConsumable) =>
|
||||
wantedConsumable switch
|
||||
{
|
||||
WantedConsumable.None => "None",
|
||||
WantedConsumable.Food => "Food",
|
||||
WantedConsumable.Drink => "Drink",
|
||||
WantedConsumable.Coffee => "Coffee",
|
||||
WantedConsumable.Mate => "Blub Mate",
|
||||
WantedConsumable.Pizza => "Pizza",
|
||||
_ => ""
|
||||
};
|
||||
}
|
||||
}
|
||||
11
3d Prototyp/Assets/Scripts/Utility/WantedConsumable.cs.meta
Normal file
11
3d Prototyp/Assets/Scripts/Utility/WantedConsumable.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7aa5732bd4e078f4aafd3188c4976d5c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user