Compare commits
No commits in common. "81f5c02933a20c7317c3a684a718bd04e215c30b" and "ad3c8687c13ade4b7ebadb42cf9f06897e33badf" have entirely different histories.
81f5c02933
...
ad3c8687c1
@ -405,7 +405,6 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.AbortEventListener("NamedGrabEvent.INTERACTABLES.VRBrille")
|
||||
BTC.IncrementRepetitionVisitedCounter()
|
||||
RunTree("10_SBB_Zugabteil_Szenenwahl_Selection")
|
||||
}
|
||||
|
||||
// -- Race 3: VR Brille in die Hand nehmen
|
||||
@ -421,7 +420,6 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
|
||||
|
||||
// --- Bilder Bergell ---
|
||||
//BTC.Run("LoadScene.NEXT.35Slideshow")
|
||||
RunTree("10_SBB_Zugabteil_Szenenwahl_Selection")
|
||||
}
|
||||
|
||||
// -- Race 4: Hand Menu
|
||||
|
@ -32,14 +32,10 @@
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
|
||||
BTC.Show("GO.GO.SpeechButton")
|
||||
BTC.Set("TextMeshPro.GO.Option1Button", "text", "Restart")
|
||||
BTC.Show("GO.GO.Option1Button")
|
||||
BTC.Run("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -258,7 +254,6 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
|
||||
// Selector 3: Fallback Button
|
||||
Composite(Sequence) {
|
||||
Composite(Marathon) {
|
||||
BTC.Show("GO.GO.SpeechButton")
|
||||
BTC.Set("TextMeshPro.GO.Option1Button", "text", "L'aiuto in cucina.")
|
||||
BTC.Show("GO.GO.Option1Button")
|
||||
BTC.Set("TextMeshPro.GO.Option2Button", "text", "La aspetto.")
|
||||
@ -272,9 +267,6 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
@ -283,9 +275,6 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
|
||||
}
|
||||
}
|
||||
@ -304,42 +293,6 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
|
||||
// --- Bilder Bergell ---
|
||||
// TODO: Bergell
|
||||
//BTC.Run("LoadScene.NEXT.35Slideshow")
|
||||
|
||||
// Fallback Button
|
||||
Composite(Sequence) {
|
||||
Composite(Marathon) {
|
||||
BTC.Show("GO.GO.SpeechButton")
|
||||
BTC.Set("TextMeshPro.GO.Option1Button", "text", "L'aiuto in cucina.")
|
||||
BTC.Show("GO.GO.Option1Button")
|
||||
BTC.Set("TextMeshPro.GO.Option2Button", "text", "La aspetto.")
|
||||
BTC.Show("GO.GO.Option2Button")
|
||||
}
|
||||
|
||||
Composite(Race) {
|
||||
Composite(Sequence) {
|
||||
// Kueche
|
||||
BTC.Run("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
// Garten
|
||||
BTC.Run("NamedEventTrigger.GO.Option2Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -412,8 +365,6 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
|
||||
}
|
||||
}
|
||||
|
||||
// fuer Vorzeigeversion
|
||||
RunTree("32_Grotto_Hide")
|
||||
RunTree("32_Grotto_Kueche_Intro")
|
||||
}
|
||||
}
|
||||
@ -910,7 +861,6 @@ Tree("32_Grotto_Kueche_alles_gefunden") {
|
||||
|
||||
// Fallback Button
|
||||
Composite(Marathon) {
|
||||
BTC.Show("GO.GO.SpeechButton")
|
||||
BTC.Set("TextMeshPro.GO.Option1Button", "text", "Sì.")
|
||||
BTC.Show("GO.GO.Option1Button")
|
||||
BTC.Set("TextMeshPro.GO.Option2Button", "text", "No.")
|
||||
@ -924,9 +874,6 @@ Tree("32_Grotto_Kueche_alles_gefunden") {
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
RunTree("32_Grotto_Kueche_Interesse_Kochen")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
@ -935,9 +882,6 @@ Tree("32_Grotto_Kueche_alles_gefunden") {
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
|
||||
}
|
||||
}
|
||||
@ -955,7 +899,6 @@ Tree("32_Grotto_Kueche_alles_gefunden") {
|
||||
|
||||
// Fallback Button
|
||||
Composite(Marathon) {
|
||||
BTC.Show("GO.GO.SpeechButton")
|
||||
BTC.Set("TextMeshPro.GO.Option1Button", "text", "Sì.")
|
||||
BTC.Show("GO.GO.Option1Button")
|
||||
BTC.Set("TextMeshPro.GO.Option2Button", "text", "No.")
|
||||
@ -969,9 +912,6 @@ Tree("32_Grotto_Kueche_alles_gefunden") {
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
RunTree("32_Grotto_Kueche_Interesse_Kochen")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
@ -980,9 +920,6 @@ Tree("32_Grotto_Kueche_alles_gefunden") {
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
|
||||
}
|
||||
}
|
||||
@ -1077,7 +1014,6 @@ Tree("32_Grotto_Kueche_Kochen_Anzahl") {
|
||||
|
||||
// Fallback Button
|
||||
Composite(Marathon) {
|
||||
BTC.Show("GO.GO.SpeechButton")
|
||||
BTC.Set("TextMeshPro.GO.Option1Button", "text", "molto spesso")
|
||||
BTC.Show("GO.GO.Option1Button")
|
||||
BTC.Set("TextMeshPro.GO.Option2Button", "text", "raramente")
|
||||
@ -1091,9 +1027,6 @@ Tree("32_Grotto_Kueche_Kochen_Anzahl") {
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
//RunTree("32_Grotto_Kueche_Selbststaendig_Kochen")
|
||||
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
|
||||
}
|
||||
@ -1103,9 +1036,6 @@ Tree("32_Grotto_Kueche_Kochen_Anzahl") {
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
|
||||
}
|
||||
}
|
||||
@ -1369,6 +1299,8 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen9Intr")
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen10Int")
|
||||
|
||||
RunTree("32_Grotto_Hide")
|
||||
|
||||
// --- Im Grotto Essen - Zweite Bestellung ---
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen1Zwei")
|
||||
|
||||
@ -1385,11 +1317,13 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
|
||||
Composite(Sequence) {
|
||||
BTC.SpeechIntentRecognized()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen")
|
||||
}
|
||||
|
||||
// -- Selector 2: Intent nicht erkannt
|
||||
Composite(Sequence) {
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen")
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1401,339 +1335,66 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
|
||||
// Fallback Button
|
||||
Composite(Marathon) {
|
||||
BTC.Show("GO.GO.SpeechButton")
|
||||
BTC.Set("TextMeshPro.GO.Option1Button", "text", "una gazzosa")
|
||||
BTC.Show("GO.GO.Option1Button")
|
||||
}
|
||||
|
||||
BTC.Run("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// --- Im Grotto Essen - Nachfrage Kellner Essen ---
|
||||
Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner") {
|
||||
Composite(Sequence) {
|
||||
BTC.GetKeyDown("Return")
|
||||
BTC.SetBool("drink_ordered", false)
|
||||
|
||||
Composite(Race) {
|
||||
BTC.CompareBool("drink_ordered")
|
||||
|
||||
Decorator(Repeat) {
|
||||
Composite(Sequence) {
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen1Nach")
|
||||
|
||||
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Zweite_Bestellung.2")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
||||
Composite(Race) {
|
||||
// -- Race 1: User sagt etwas
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
|
||||
Composite(Selector) {
|
||||
// -- Selector 1: Intent erkannt
|
||||
Composite(Sequence) {
|
||||
BTC.SpeechIntentRecognized()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen")
|
||||
}
|
||||
|
||||
// -- Selector 2: Intent nicht erkannt
|
||||
Composite(Sequence) {
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// -- Race 2: User sagt nichts
|
||||
Composite(Sequence) {
|
||||
BTC.Wait(5)
|
||||
BTC.CompareUserSpeechInputStarted(false)
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen") {
|
||||
Composite(Sequence) {
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen1Esse")
|
||||
|
||||
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Nachfrage_Kellner_Essen.2")
|
||||
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Nachfrage_Kellner_Essen.3")
|
||||
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Nachfrage_Kellner_Essen.4")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
||||
Composite(Race) {
|
||||
// -- Race 1: User sagt etwas
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
|
||||
Composite(Selector) {
|
||||
// -- Selector 1: Intent erkannt
|
||||
Composite(Sequence) {
|
||||
BTC.SpeechIntentRecognized()
|
||||
|
||||
// Intent erkannt
|
||||
Composite(Race) {
|
||||
Composite(Sequence) {
|
||||
BTC.CompareIntentID("Im_Grotto_essen.Nachfrage_Kellner_Essen.2")
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.SetBool("ChoosedRisotto")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
BTC.CompareIntentID("Im_Grotto_essen.Nachfrage_Kellner_Essen.3")
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.SetBool("ChoosedPizochen")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
BTC.CompareIntentID("Im_Grotto_essen.Nachfrage_Kellner_Essen.4")
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.SetBool("ChoosedInsalata")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// -- Selector 2: Intent nicht erkannt
|
||||
Composite(Sequence) {
|
||||
// --- Im Grotto Essen - Nachfrage Kellner Unklar ---
|
||||
// SpeechIntentRecognized Failed: kein Intent erkannt
|
||||
BTC.SynthesizeText("Perdonami, non ho capito bene, cosa desideri?")
|
||||
BTC.SpeechOutputEnded()
|
||||
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
Composite(Race) {
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
BTC.SpeechIntentRecognized()
|
||||
|
||||
Composite(Race) {
|
||||
Composite(Sequence) {
|
||||
BTC.CompareIntentID("Im_Grotto_essen.Nachfrage_Kellner_Essen.2")
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.SetBool("ChoosedRisotto")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
BTC.CompareIntentID("Im_Grotto_essen.Nachfrage_Kellner_Essen.3")
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.SetBool("ChoosedPizochen")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
BTC.CompareIntentID("Im_Grotto_essen.Nachfrage_Kellner_Essen.4")
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.SetBool("ChoosedInsalata")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Composite(Sequence) {
|
||||
BTC.Wait(5)
|
||||
BTC.CompareUserSpeechInputStarted(false)
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
|
||||
BTC.CompareUserSpeechInputStarted(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Selector 3: Fallback Button
|
||||
Composite(Sequence) {
|
||||
Composite(Marathon) {
|
||||
BTC.Show("GO.GO.SpeechButton")
|
||||
BTC.Set("TextMeshPro.GO.Option1Button", "text", "Risotto")
|
||||
BTC.Show("GO.GO.Option1Button")
|
||||
BTC.Set("TextMeshPro.GO.Option2Button", "text", "Pizochen")
|
||||
BTC.Show("GO.GO.Option2Button")
|
||||
BTC.Set("TextMeshPro.GO.Option3Button", "text", "Insalata")
|
||||
BTC.Show("GO.GO.Option3Button")
|
||||
}
|
||||
|
||||
Composite(Race) {
|
||||
Composite(Sequence) {
|
||||
// Risotto
|
||||
BTC.Run("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option3Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option3Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
BTC.SetBool("ChoosedRisotto")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
// Pizochen
|
||||
BTC.Run("NamedEventTrigger.GO.Option2Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option3Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option3Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
BTC.SetBool("ChoosedPizochen")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
// Insalata
|
||||
BTC.Run("NamedEventTrigger.GO.Option3Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option3Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
BTC.SetBool("ChoosedInsalata")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// -- Race 2: User sagt nichts
|
||||
Composite(Sequence) {
|
||||
BTC.Wait(5)
|
||||
BTC.CompareUserSpeechInputStarted(false)
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
|
||||
// Fallback Button
|
||||
Composite(Sequence) {
|
||||
Composite(Marathon) {
|
||||
BTC.Show("GO.GO.SpeechButton")
|
||||
BTC.Set("TextMeshPro.GO.Option1Button", "text", "Risotto")
|
||||
BTC.Show("GO.GO.Option1Button")
|
||||
BTC.Set("TextMeshPro.GO.Option2Button", "text", "Pizochen")
|
||||
BTC.Show("GO.GO.Option2Button")
|
||||
BTC.Set("TextMeshPro.GO.Option3Button", "text", "Insalata")
|
||||
BTC.Show("GO.GO.Option3Button")
|
||||
}
|
||||
|
||||
Composite(Race) {
|
||||
Composite(Sequence) {
|
||||
// Risotto
|
||||
BTC.Run("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option3Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option3Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
BTC.SetBool("ChoosedRisotto")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
// Pizochen
|
||||
BTC.Run("NamedEventTrigger.GO.Option2Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option3Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option3Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
BTC.SetBool("ChoosedPizochen")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
// Insalata
|
||||
BTC.Run("NamedEventTrigger.GO.Option3Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
|
||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option1Button")
|
||||
BTC.Hide("GO.GO.Option2Button")
|
||||
BTC.Hide("GO.GO.Option3Button")
|
||||
BTC.Hide("GO.GO.SpeechButton")
|
||||
BTC.Show("GO.GO.Home")
|
||||
BTC.Hide("GO.GO.SpeechOptions")
|
||||
BTC.SetBool("ChoosedInsalata")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen3Nach")
|
||||
BTC.Wait(10)
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen4Nach")
|
||||
|
||||
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Nachfrage_Kellner_unklar.5")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
||||
Composite(Race) {
|
||||
// -- Race 1: User sagt etwas
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
|
||||
Composite(Selector) {
|
||||
// -- Selector 1: Intent erkannt
|
||||
Composite(Sequence) {
|
||||
BTC.SpeechIntentRecognized()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
}
|
||||
|
||||
// -- Selector 2: Intent nicht erkannt
|
||||
Composite(Sequence) {
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// -- Race 2: User sagt nichts
|
||||
Composite(Sequence) {
|
||||
BTC.Wait(5)
|
||||
BTC.CompareUserSpeechInputStarted(false)
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
}
|
||||
}
|
||||
|
||||
// Getränke ersetzen fuer User
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen9Nach")
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen10Nac")
|
||||
|
||||
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Nachfrage_Kellner_unklar.11")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
||||
Composite(Race) {
|
||||
// -- Race 1: User sagt etwas
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
|
||||
Composite(Selector) {
|
||||
// -- Selector 1: Intent erkannt
|
||||
Composite(Sequence) {
|
||||
BTC.SpeechIntentRecognized()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
}
|
||||
|
||||
// -- Selector 2: Intent nicht erkannt
|
||||
Composite(Sequence) {
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// -- Race 2: User sagt nichts
|
||||
Composite(Sequence) {
|
||||
BTC.Wait(5)
|
||||
BTC.CompareUserSpeechInputStarted(false)
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
}
|
||||
}
|
||||
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen15Nac")
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen16Nac")
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen18Nac")
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen22Nac")
|
||||
BTC.Run("AudioSource.AUDIO.ImGrottoessen23Nac")
|
||||
|
||||
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Nachfrage_Kellner_unklar.24")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
||||
Composite(Race) {
|
||||
// -- Race 1: User sagt etwas
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
|
||||
Composite(Selector) {
|
||||
// -- Selector 1: Intent erkannt
|
||||
Composite(Sequence) {
|
||||
BTC.SpeechIntentRecognized()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
}
|
||||
|
||||
// -- Selector 2: Intent nicht erkannt
|
||||
Composite(Sequence) {
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// -- Race 2: User sagt nichts
|
||||
Composite(Sequence) {
|
||||
BTC.Wait(5)
|
||||
BTC.CompareUserSpeechInputStarted(false)
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
}
|
||||
}
|
||||
|
||||
// --- Im Grotto Essen - Outro ---
|
||||
// ...
|
||||
|
||||
RunTree("32_Grotto_Hide")
|
||||
|
||||
}
|
||||
|
@ -143,15 +143,13 @@ GameObject:
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1816826061814438359}
|
||||
- component: {fileID: 5173265794982869292}
|
||||
- component: {fileID: 886443357406479236}
|
||||
m_Layer: 9
|
||||
m_Name: GO.HANDMENU.SpeechOptions
|
||||
m_Name: SpeechOptions
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1816826061814438359
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -172,39 +170,6 @@ RectTransform:
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &5173265794982869292
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 603058458314117103}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
handlers:
|
||||
- {fileID: 886443357406479236}
|
||||
roomId: HANDMENU
|
||||
uniqueId:
|
||||
--- !u!114 &886443357406479236
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 603058458314117103}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 854f42016d3df44a991cdc2fdbe4a363, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
showHelpText: 0
|
||||
fadeInTime: 1.5
|
||||
fadeOutTime: 1.5
|
||||
go: {fileID: 603058458314117103}
|
||||
objName: SpeechOptions
|
||||
--- !u!1 &612260542996305177
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -217,15 +182,13 @@ GameObject:
|
||||
- component: {fileID: 1078164051229086756}
|
||||
- component: {fileID: 2050532068373587480}
|
||||
- component: {fileID: 8285569982920512079}
|
||||
- component: {fileID: 1728074381097661315}
|
||||
- component: {fileID: 5864796476378244402}
|
||||
m_Layer: 9
|
||||
m_Name: GO.HANDMENU.SpeechButton_345986
|
||||
m_Name: SpeechButton
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &3275877086145120985
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -353,39 +316,6 @@ MonoBehaviour:
|
||||
m_ApplyIfChildIsTarget: 1
|
||||
m_ClampToMaxDistance: 1
|
||||
m_MaxDistance: 20
|
||||
--- !u!114 &1728074381097661315
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 612260542996305177}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
handlers:
|
||||
- {fileID: 5864796476378244402}
|
||||
roomId: HANDMENU
|
||||
uniqueId: 345986
|
||||
--- !u!114 &5864796476378244402
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 612260542996305177}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 854f42016d3df44a991cdc2fdbe4a363, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
showHelpText: 0
|
||||
fadeInTime: 1.5
|
||||
fadeOutTime: 1.5
|
||||
go: {fileID: 612260542996305177}
|
||||
objName: SpeechButton
|
||||
--- !u!1 &696547208031735914
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -401,7 +331,7 @@ GameObject:
|
||||
- component: {fileID: 240211946506320929}
|
||||
- component: {fileID: 5329492480982599062}
|
||||
m_Layer: 9
|
||||
m_Name: NamedEventTrigger.HANDMENU.Option1Button_345908
|
||||
m_Name: NamedEventTrigger.HANDMENU.Option1Button_40452
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -520,7 +450,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 5329492480982599062}
|
||||
roomId: HANDMENU
|
||||
uniqueId: 345908
|
||||
uniqueId: 40452
|
||||
--- !u!114 &5329492480982599062
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -683,7 +613,7 @@ GameObject:
|
||||
- component: {fileID: 8915473895132193941}
|
||||
- component: {fileID: 5131142393743762101}
|
||||
m_Layer: 9
|
||||
m_Name: TextMeshPro.HANDMENU.Option1Button_346342
|
||||
m_Name: TextMeshPro.HANDMENU.Option1Button_40458
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -820,7 +750,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 5131142393743762101}
|
||||
roomId: HANDMENU
|
||||
uniqueId: 346342
|
||||
uniqueId: 40458
|
||||
--- !u!114 &5131142393743762101
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -1782,7 +1712,7 @@ GameObject:
|
||||
- component: {fileID: 7842760327751594417}
|
||||
- component: {fileID: 145716044316846140}
|
||||
m_Layer: 9
|
||||
m_Name: TextMeshPro.HANDMENU.Option2Button_346292
|
||||
m_Name: TextMeshPro.HANDMENU.Option2Button_40460
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -1919,7 +1849,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 145716044316846140}
|
||||
roomId: HANDMENU
|
||||
uniqueId: 346292
|
||||
uniqueId: 40460
|
||||
--- !u!114 &145716044316846140
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -2445,7 +2375,7 @@ GameObject:
|
||||
- component: {fileID: 3179213291823671039}
|
||||
- component: {fileID: 3034346200053839326}
|
||||
m_Layer: 9
|
||||
m_Name: GO.HANDMENU.Option1Button_346058
|
||||
m_Name: GO.HANDMENU.Option1Button_322696
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -2486,7 +2416,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 3034346200053839326}
|
||||
roomId: HANDMENU
|
||||
uniqueId: 346058
|
||||
uniqueId: 322696
|
||||
--- !u!114 &3034346200053839326
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -3369,7 +3299,7 @@ GameObject:
|
||||
- component: {fileID: 1550598400944840158}
|
||||
- component: {fileID: 6932652443108931229}
|
||||
m_Layer: 9
|
||||
m_Name: GO.HANDMENU.Option3Button_345974
|
||||
m_Name: GO.HANDMENU.Option3Button_40448
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -3410,7 +3340,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 6932652443108931229}
|
||||
roomId: HANDMENU
|
||||
uniqueId: 345974
|
||||
uniqueId: 40448
|
||||
--- !u!114 &6932652443108931229
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -3444,7 +3374,7 @@ GameObject:
|
||||
- component: {fileID: 5043064095138479469}
|
||||
- component: {fileID: 6028808426266995019}
|
||||
m_Layer: 9
|
||||
m_Name: NamedEventTrigger.HANDMENU.Option2Button_346158
|
||||
m_Name: NamedEventTrigger.HANDMENU.Option2Button_40454
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -3581,7 +3511,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 6028808426266995019}
|
||||
roomId: HANDMENU
|
||||
uniqueId: 346158
|
||||
uniqueId: 40454
|
||||
--- !u!114 &6028808426266995019
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -3616,7 +3546,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &2942700596355438541
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -4077,7 +4007,7 @@ GameObject:
|
||||
- component: {fileID: 8061268387521178252}
|
||||
- component: {fileID: 9007450541643059173}
|
||||
m_Layer: 9
|
||||
m_Name: NamedEventTrigger.HANDMENU.Option3Button_346302
|
||||
m_Name: NamedEventTrigger.HANDMENU.Option3Button_40456
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -4214,7 +4144,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 9007450541643059173}
|
||||
roomId: HANDMENU
|
||||
uniqueId: 346302
|
||||
uniqueId: 40456
|
||||
--- !u!114 &9007450541643059173
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -4782,7 +4712,6 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 801694043795818527}
|
||||
- component: {fileID: 959634819228986590}
|
||||
- component: {fileID: 3645542772199602657}
|
||||
m_Layer: 9
|
||||
m_Name: Audio
|
||||
m_TagString: Untagged
|
||||
@ -4905,37 +4834,6 @@ AudioSource:
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
--- !u!114 &3645542772199602657
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5323211672570368204}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 9a6610d2e704f1648819acc8d7460285, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
CollisionTag:
|
||||
EventReference:
|
||||
Guid:
|
||||
Data1: 170625077
|
||||
Data2: 1158889159
|
||||
Data3: -1852421239
|
||||
Data4: 912204842
|
||||
Path: event:/Allgemein/Allgemein.Smartphone_Kamera
|
||||
Event:
|
||||
EventPlayTrigger: 0
|
||||
EventStopTrigger: 0
|
||||
AllowFadeout: 1
|
||||
TriggerOnce: 0
|
||||
Preload: 0
|
||||
NonRigidbodyVelocity: 0
|
||||
Params: []
|
||||
OverrideAttenuation: 0
|
||||
OverrideMinDistance: 0.7
|
||||
OverrideMaxDistance: 20
|
||||
--- !u!1 &5340233541856464836
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -5441,7 +5339,7 @@ GameObject:
|
||||
- component: {fileID: 5903078286478072736}
|
||||
- component: {fileID: 4441290746772365774}
|
||||
m_Layer: 9
|
||||
m_Name: GO.HANDMENU.Option2Button_346216
|
||||
m_Name: GO.HANDMENU.Option2Button_40450
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -5482,7 +5380,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 4441290746772365774}
|
||||
roomId: HANDMENU
|
||||
uniqueId: 346216
|
||||
uniqueId: 40450
|
||||
--- !u!114 &4441290746772365774
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -5668,13 +5566,13 @@ MonoBehaviour:
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls:
|
||||
- m_Target: {fileID: 3645542772199602657}
|
||||
m_TargetAssemblyTypeName: FMODUnity.StudioEventEmitter, FMODUnity
|
||||
m_MethodName: Play
|
||||
m_Mode: 1
|
||||
- m_Target: {fileID: 959634819228986590}
|
||||
m_TargetAssemblyTypeName: UnityEngine.AudioSource, UnityEngine
|
||||
m_MethodName: PlayOneShot
|
||||
m_Mode: 2
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_ObjectArgument: {fileID: 8300000, guid: eeeda5dce5e1d344f8e2f6195f16cb38, type: 3}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.AudioClip, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
@ -5989,10 +5887,8 @@ GameObject:
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7413929428606852214}
|
||||
- component: {fileID: 2185744855848736044}
|
||||
- component: {fileID: 7103095089401404695}
|
||||
m_Layer: 9
|
||||
m_Name: GO.HANDMENU.Home
|
||||
m_Name: Home
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -6019,39 +5915,6 @@ RectTransform:
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &2185744855848736044
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8766490206476275678}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
handlers:
|
||||
- {fileID: 7103095089401404695}
|
||||
roomId: HANDMENU
|
||||
uniqueId:
|
||||
--- !u!114 &7103095089401404695
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8766490206476275678}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 854f42016d3df44a991cdc2fdbe4a363, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
showHelpText: 0
|
||||
fadeInTime: 1.5
|
||||
fadeOutTime: 1.5
|
||||
go: {fileID: 8766490206476275678}
|
||||
objName: Home
|
||||
--- !u!1 &8782175979013437306
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -6066,7 +5929,7 @@ GameObject:
|
||||
- component: {fileID: 7263654527900220643}
|
||||
- component: {fileID: 2459840645607503370}
|
||||
m_Layer: 9
|
||||
m_Name: TextMeshPro.HANDMENU.Option3Button_346266
|
||||
m_Name: TextMeshPro.HANDMENU.Option3Button_40462
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -6203,7 +6066,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 2459840645607503370}
|
||||
roomId: HANDMENU
|
||||
uniqueId: 346266
|
||||
uniqueId: 40462
|
||||
--- !u!114 &2459840645607503370
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -81,7 +81,7 @@ public class PhotoTransition : MonoBehaviour
|
||||
|
||||
IEnumerator ImageLoader(string path)
|
||||
{
|
||||
string imgPath = Path.Combine(Application.persistentDataPath, path);
|
||||
string imgPath = Path.Combine(Application.streamingAssetsPath, path);
|
||||
//imgPath = "file://" + imgPath; // For testing in editor
|
||||
|
||||
using (UnityWebRequest uwr = UnityWebRequestTexture.GetTexture(imgPath))
|
||||
|
@ -230,25 +230,10 @@
|
||||
{
|
||||
"intentID": "Im_Grotto_essen.Nachfrage_Kellner_Essen.2",
|
||||
"intentSentences": [
|
||||
"Io vorrei xy.",
|
||||
"Prendo il risotto.",
|
||||
"Risotto.",
|
||||
"Io vorrei un risotto."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Im_Grotto_essen.Nachfrage_Kellner_Essen.3",
|
||||
"intentSentences": [
|
||||
"Prendo i pizochen.",
|
||||
"Pizochen.",
|
||||
"Io vorrei una pizochen."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Im_Grotto_essen.Nachfrage_Kellner_Essen.4",
|
||||
"intentSentences": [
|
||||
"Insalata.",
|
||||
"Prendo un'insalata.",
|
||||
"Io vorrei un'insalata."
|
||||
"Prendo un'insalata."
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -256,9 +241,14 @@
|
||||
"intentSentences": [
|
||||
"No.",
|
||||
"No, non lo so.",
|
||||
"Nessun'idea.",
|
||||
"Nessun'idea."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Im_Grotto_essen.Nachfrage_Kellner_unklar.6",
|
||||
"intentSentences": [
|
||||
"S\u00ec.",
|
||||
"S\u00ec, originariamente significava cantina.",
|
||||
"S\u00ec, originariamente significava \"cantina\".",
|
||||
"S\u00ec, era come un frigo naturale dove consevare i generi alimentari."
|
||||
]
|
||||
},
|
||||
@ -267,7 +257,12 @@
|
||||
"intentSentences": [
|
||||
"S\u00ec.",
|
||||
"S\u00ec, ogni volta che andiamo in Ticino mangiamo in un grotto.",
|
||||
"S\u00ec, ho gi\u00e0 mangiato in un grotto.",
|
||||
"S\u00ec, ho gi\u00e0 mangiato in un grotto."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Im_Grotto_essen.Nachfrage_Kellner_unklar.12",
|
||||
"intentSentences": [
|
||||
"No.",
|
||||
"No, non ho mai mangiato in un grotto. ",
|
||||
"No, purtroppo no."
|
||||
|
8
Viagg-io/Assets/StreamingAssets/Photos.meta
Normal file
8
Viagg-io/Assets/StreamingAssets/Photos.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c4e2c37d42f614521ab25c2e722b8c18
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Viagg-io/Assets/StreamingAssets/Photos/IMG_0047.jpeg
Normal file
BIN
Viagg-io/Assets/StreamingAssets/Photos/IMG_0047.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 MiB |
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: be1106f0c2add453d93a76eb15c5e86f
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Viagg-io/Assets/StreamingAssets/Photos/IMG_0051.jpeg
Normal file
BIN
Viagg-io/Assets/StreamingAssets/Photos/IMG_0051.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 MiB |
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 30757dc81dd964d269beda18a3f63003
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Viagg-io/Assets/StreamingAssets/Photos/IMG_0052.jpeg
Normal file
BIN
Viagg-io/Assets/StreamingAssets/Photos/IMG_0052.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 MiB |
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e438032979ef740508c32bd4e4304788
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Viagg-io/Assets/StreamingAssets/Photos/IMG_0065.jpeg
Normal file
BIN
Viagg-io/Assets/StreamingAssets/Photos/IMG_0065.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 MiB |
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6151f6d8480154c7895ec28ded2c68c0
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Viagg-io/Assets/StreamingAssets/Photos/IMG_0079.jpeg
Normal file
BIN
Viagg-io/Assets/StreamingAssets/Photos/IMG_0079.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 MiB |
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 698877680d23e46d58fd7d678938f7a0
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
x
Reference in New Issue
Block a user