Merge branch 'programming'

This commit is contained in:
Nadine Ganz 2025-05-15 17:32:31 +02:00
commit 92b15faf63
22 changed files with 1000346 additions and 631978 deletions

View File

@ -41,79 +41,60 @@ Tree("10_SBB_Zugabteil_Intro") {
Composite(Sequence) {
BTC.NoStoriesVisited()
Composite(Race) {
Composite(Sequence) {
BTC.Run("NamedEventTrigger.HANDMENU.SkipChapterButton")
BTC.Show("Depthkit.VIDEOS.Exposition0Zugabte")
BTC.Run("Depthkit.VIDEOS.Exposition0Zugabte")
Composite(Marathon) {
BTC.Hide("Depthkit.VIDEOS.Exposition4Zugabte")
BTC.Hide("Depthkit.VIDEOS.Exposition2Zugabte")
BTC.Hide("Depthkit.VIDEOS.Exposition3Zugabte")
BTC.Hide("Depthkit.VIDEOS.Exposition1Zugabte")
BTC.Hide("Depthkit.VIDEOS.Exposition0Zugabte")
BTC.SetSpeechRecognitionLanguage("it-IT")
}
}
BTC.SynthesizeText("Wir begrüssen dich auf unserer Reise in die Sprache und Kultur der italienischsprachigen Schweiz.")
BTC.SpeechOutputEnded()
BTC.SynthesizeText("Bitte bleib während des ganzen Ausflugs sitzen. Die Steuerung erfolgt über die Sprache und über das Smartphone, das du in der rechten Hand hältst.")
BTC.SpeechOutputEnded()
Composite(Sequence) {
BTC.Show("Depthkit.VIDEOS.Exposition0Zugabte")
BTC.Run("Depthkit.VIDEOS.Exposition0Zugabte")
BTC.SynthesizeText("Solltest du dich unwohl fühlen, dann schliesse die Augen und lege die VR-Brille ab.")
BTC.SpeechOutputEnded()
BTC.SynthesizeText("Wir begrüssen dich auf unserer Reise in die Sprache und Kultur der italienischsprachigen Schweiz.")
BTC.SpeechOutputEnded()
BTC.SynthesizeText("Francesca begleitet dich bei deinen Abenteuern in die italienischsprachige Schweiz. Dabei bestimmst du, wohin deine Reise geht, indem du auf Italienisch antwortest, selbst Fragen stellst oder Entscheide triffst. Wenn Du nicht weiterweisst, dann schau auf dein Smartphone. Damit kannst Du an manchen Orten übrigens auch fotografieren.")
BTC.SpeechOutputEnded()
BTC.SynthesizeText("Bitte bleib während des ganzen Ausflugs sitzen. Die Steuerung erfolgt über die Sprache und über das Smartphone, das du in der rechten Hand hältst.")
BTC.SpeechOutputEnded()
BTC.SetVoiceName("de-DE-KatjaNeural")
BTC.Run("StudioEventEmitter.STATIC.SBBAlert")
BTC.SynthesizeText("Nächster Halt Bellinzona, Richtung Biasca, Gleis 2, Locarno, Gleis 3, Mendrisio, Gleis 4. Gute Reise!")
BTC.SpeechOutputEnded()
BTC.SynthesizeText("Solltest du dich unwohl fühlen, dann schliesse die Augen und lege die VR-Brille ab.")
BTC.SpeechOutputEnded()
BTC.SetVoiceName("de-DE-SeraphinaMultilingualNeural")
BTC.SynthesizeText("In wenigen Minuten treffen wir in Bellinzona ein.")
BTC.SpeechOutputEnded()
BTC.SynthesizeText("Francesca begleitet dich bei deinen Abenteuern in die italienischsprachige Schweiz. Dabei bestimmst du, wohin deine Reise geht, indem du auf Italienisch antwortest, selbst Fragen stellst oder Entscheide triffst. Wenn Du nicht weiterweisst, dann schau auf dein Smartphone. Damit kannst Du an manchen Orten übrigens auch fotografieren.")
BTC.SpeechOutputEnded()
BTC.SetSpeechRecognitionLanguage("it-IT")
BTC.SetVoiceName("it-IT-FabiolaNeural")
BTC.SynthesizeText("Tra pochi minuti arriveremo a Bellinzona. Il treno per Biasca è in partenza dal binario 2, quello per Locarno dal binario 3 e per Mendrisio dal binario 4. Buon viaggio!")
BTC.SpeechOutputEnded()
BTC.SetVoiceName("de-DE-KatjaNeural")
BTC.Run("StudioEventEmitter.STATIC.SBBAlert")
BTC.SynthesizeText("Nächster Halt Bellinzona, Richtung Biasca, Gleis 2, Locarno, Gleis 3, Mendrisio, Gleis 4. Gute Reise!")
BTC.SpeechOutputEnded()
// --- Zugabteil - Exposition ---
BTC.Hide("Depthkit.VIDEOS.Exposition0Zugabte")
BTC.Show("Depthkit.VIDEOS.Exposition1Zugabte")
BTC.Run("Depthkit.VIDEOS.Exposition1Zugabte")
BTC.SetVoiceName("de-DE-SeraphinaMultilingualNeural")
BTC.SynthesizeText("In wenigen Minuten treffen wir in Bellinzona ein.")
BTC.SpeechOutputEnded()
BTC.Hide("Depthkit.VIDEOS.Exposition1Zugabte")
BTC.Show("Depthkit.VIDEOS.Exposition2Zugabte")
BTC.Run("Depthkit.VIDEOS.Exposition2Zugabte")
BTC.SetSpeechRecognitionLanguage("it-IT")
BTC.SetVoiceName("it-IT-FabiolaNeural")
BTC.SynthesizeText("Tra pochi minuti arriveremo a Bellinzona. Il treno per Biasca è in partenza dal binario 2, quello per Locarno dal binario 3 e per Mendrisio dal binario 4. Buon viaggio!")
BTC.SpeechOutputEnded()
BTC.Hide("Depthkit.VIDEOS.Exposition2Zugabte")
BTC.Show("Depthkit.VIDEOS.Exposition3Zugabte")
BTC.Run("Depthkit.VIDEOS.Exposition3Zugabte")
// --- Zugabteil - Exposition ---
BTC.Hide("Depthkit.VIDEOS.Exposition0Zugabte")
BTC.Show("Depthkit.VIDEOS.Exposition1Zugabte")
BTC.Run("Depthkit.VIDEOS.Exposition1Zugabte")
BTC.Hide("Depthkit.VIDEOS.Exposition3Zugabte")
BTC.Show("Depthkit.VIDEOS.Exposition4Zugabte")
BTC.Run("Depthkit.VIDEOS.Exposition4Zugabte")
BTC.Hide("Depthkit.VIDEOS.Exposition1Zugabte")
BTC.Show("Depthkit.VIDEOS.Exposition2Zugabte")
BTC.Run("Depthkit.VIDEOS.Exposition2Zugabte")
BTC.Hide("Depthkit.VIDEOS.Exposition2Zugabte")
BTC.Show("Depthkit.VIDEOS.Exposition3Zugabte")
BTC.Run("Depthkit.VIDEOS.Exposition3Zugabte")
BTC.Hide("Depthkit.VIDEOS.Exposition3Zugabte")
BTC.Show("Depthkit.VIDEOS.Exposition4Zugabte")
BTC.Run("Depthkit.VIDEOS.Exposition4Zugabte")
BTC.Hide("Depthkit.VIDEOS.Exposition4Zugabte")
//BTC.Run("AudioSource.AUDIO.Exposition5Zugabte")
}
}
BTC.Hide("Depthkit.VIDEOS.Exposition4Zugabte")
//BTC.Run("AudioSource.AUDIO.Exposition5Zugabte")
RunTree("10_SBB_Zugabteil_Szenenwahl_Selection")
}
RunTree("10_SBB_Zugabteil_Szenenwahl_Selection")
}
}
Tree("10_SBB_Zugabteil_Szenenwahl_Selection") {

View File

@ -602,4 +602,3 @@ Tree("22_Geschaeft_Hide") {
}
}
}

View File

@ -27,7 +27,6 @@
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
// Go to Scene 3.2 Grotto
BTC.Run("LoadScene.NEXT.32Grotto")
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}

View File

@ -0,0 +1,545 @@
Tree("Root") {
Composite(Sequence) {
BTC.InitializeSpeechManager()
BTC.SetSpeechRecognitionLanguage("it-IT")
BTC.SetVoiceName("it-IT-FabiolaNeural")
Composite(Race) {
Composite(Sequence) {
// Error in Speech Service: Cancel BTC Trees
BTC.SpeechErrorOccured()
BTC.SetBool("error")
}
Composite(Sequence) {
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
RunTree("32_Grotto_Story_B_Grotto_Intro")
//RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
}
}
Composite(Sequence) {
BTC.CompareBool("error")
// Error Handling
BTC.AbortSpeechEventListener()
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")
}
}
}
Tree("32_Grotto_Story_B_Grotto_Intro") {
Composite(Sequence) {
// Initialization
BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
BTC.Show("Depthkit.VIDEOS.Intro1StoryBGrotto")
BTC.Run("Depthkit.VIDEOS.Intro1StoryBGrotto")
BTC.Hide("Depthkit.VIDEOS.Intro1StoryBGrotto")
BTC.Show("Depthkit.VIDEOS.Intro2StoryBGrotto")
BTC.Run("Depthkit.VIDEOS.Intro2StoryBGrotto")
BTC.Hide("Depthkit.VIDEOS.Intro2StoryBGrotto")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
}
}
BTC.Show("Depthkit.VIDEOS.Intro6StoryBGrotto")
BTC.Run("Depthkit.VIDEOS.Intro6StoryBGrotto")
BTC.Hide("Depthkit.VIDEOS.Intro6StoryBGrotto")
// --- Story B Grotto - Telefonat ---
BTC.Show("Depthkit.VIDEOS.Telefonat1StoryBGr")
BTC.Run("Depthkit.VIDEOS.Telefonat1StoryBGr")
BTC.Hide("Depthkit.VIDEOS.Telefonat1StoryBGr")
BTC.Run("AudioSource.AUDIO.Telefonat2StoryBGr")
BTC.Show("Depthkit.VIDEOS.Telefonat3StoryBGr")
BTC.Run("Depthkit.VIDEOS.Telefonat3StoryBGr")
BTC.Hide("Depthkit.VIDEOS.Telefonat3StoryBGr")
BTC.Run("AudioSource.AUDIO.Telefonat4StoryBGr")
BTC.Show("Depthkit.VIDEOS.Telefonat5StoryBGr")
BTC.Run("Depthkit.VIDEOS.Telefonat5StoryBGr")
BTC.Hide("Depthkit.VIDEOS.Telefonat5StoryBGr")
BTC.Show("Depthkit.VIDEOS.IdleLoopNonnaGrott")
BTC.Run("Depthkit.VIDEOS.IdleLoopNonnaGrott")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Telefonat.6")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
}
}
// --- Story B Grotto - Begruessung ---
BTC.Run("AudioSource.AUDIO.BegruessungohneNam")
// --- Story B Grotto - Antwort_Reise ---
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.1")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
}
}
BTC.Run("AudioSource.AUDIO.AntwortReise4Story")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.5")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
}
}
BTC.Run("AudioSource.AUDIO.AntwortReise8Story")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.9")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.11")
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("Story_B_Grotto.Antwort_Reise.9")
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche")
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Antwort_Reise.11")
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
}
}
}
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
// --- Story B Grotto - Nachfrage Nonna Grotto ---
// SpeechIntentRecognized Failed: kein Intent erkannt
BTC.Run("AudioSource.AUDIO.NachfrageNonnaGrot")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Antwort_Reise.9")
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche")
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Antwort_Reise.11")
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
}
}
}
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", "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")
}
}
}
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
// --- 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")
}
}
}
}
}
}
}
Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
// --- Story B Grotto - Antwort Nonna Kueche ---
Composite(Sequence) {
BTC.Run("AudioSource.AUDIO.AntwortNonnaKueche")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Kueche.2")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
}
}
// --- Story B Grotto - Outro ---
BTC.Run("AudioSource.AUDIO.Outro1StoryBGrotto")
BTC.Hide("Depthkit.VIDEOS.IdleLoopNonnaGrott")
BTC.Show("Depthkit.VIDEOS.Outro2StoryBGrotto")
BTC.Run("Depthkit.VIDEOS.Outro2StoryBGrotto")
BTC.Hide("Depthkit.VIDEOS.Outro2StoryBGrotto")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Outro.3")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
}
}
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.32Grotto2") // Go to Grotto2 Kueche
}
}
Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
// --- Story B Grotto - Antwort Nonna Grotto ---
Composite(Sequence) {
BTC.Run("AudioSource.AUDIO.AntwortNonnaGrotto_01")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.2")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// 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.AntwortNonnaGrotto_05")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.6")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// 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.Hide("Depthkit.VIDEOS.IdleLoopNonnaGrott")
//BTC.SynthesizeText("Mentre aspetti, se vuoi puoi dare un'occhiata alle foto che ho scattato di recente in Bregaglia. Puoi usare il visore che trovi sul tavolo.")
//BTC.SpeechOutputEnded()
// TODO: Option VR Brille Bilder und Buch anschauen fehlt
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
// Initialization
Composite(Marathon) {
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -4.648, 0, -12.295)
BTC.SetPosition("GO.HANDMENU", -4.648, 0, -12.295)
BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", 0.0)
BTC.RotateToAngle("GO.HANDMENU", 0.0)
BTC.Run("StudioEventEmitter.STATIC.KuechenAmbi")
BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Wait(5)
BTC.Show("Depthkit.VIDEOS.AntwortNonnaGrotto_10")
BTC.Run("Depthkit.VIDEOS.AntwortNonnaGrotto_10")
BTC.Hide("Depthkit.VIDEOS.AntwortNonnaGrotto_10")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.11")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.12")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
}
}
BTC.Show("Depthkit.VIDEOS.AntwortNonnaGrotto_15")
BTC.Run("Depthkit.VIDEOS.AntwortNonnaGrotto_15")
BTC.Hide("Depthkit.VIDEOS.AntwortNonnaGrotto_15")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.32Grotto3") // Go to Grotto3 Essen
}
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: b3e91f00d00e64464afacccd219e2fc3
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,879 @@
Tree("Root") {
Composite(Sequence) {
BTC.InitializeSpeechManager()
BTC.SetSpeechRecognitionLanguage("it-IT")
BTC.SetVoiceName("it-IT-FabiolaNeural")
Composite(Race) {
Composite(Sequence) {
// Error in Speech Service: Cancel BTC Trees
BTC.SpeechErrorOccured()
BTC.SetBool("error")
}
Composite(Sequence) {
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
RunTree("32_Grotto_Kueche_Intro")
//RunTree("32_Grotto_Kueche_Zwiebeln_schneiden")
//RunTree("32_Grotto_Kueche_alles_gefunden")
//RunTree("32_Grotto_Kueche_Interesse_Kochen")
//RunTree("32_Grotto_Kueche_Kochen_Anzahl")
//RunTree("32_Grotto_Kueche_Zusammen_Kochen")
//RunTree("32_Grotto_Kueche_Parmigiano")
}
}
Composite(Sequence) {
BTC.CompareBool("error")
// Error Handling
BTC.AbortSpeechEventListener()
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")
}
}
}
Tree("32_Grotto_Kueche_Intro") {
// --- Kueche - Intro ---
Composite(Sequence) {
BTC.Show("Depthkit.VIDEOS.Intro1Kueche")
BTC.Run("Depthkit.VIDEOS.Intro1Kueche")
BTC.Hide("Depthkit.VIDEOS.Intro1Kueche")
// Schuerze greifen
BTC.Run("GO/NamedGrabEvent.INTERACTABLES.Schuerze")
BTC.Hide("GO/NamedGrabEvent.INTERACTABLES.Schuerze")
BTC.Show("Depthkit.VIDEOS.Intro2Kueche")
BTC.Run("Depthkit.VIDEOS.Intro2Kueche")
BTC.Hide("Depthkit.VIDEOS.Intro2Kueche")
BTC.AddPossbileSpeechIntent("Kueche.Intro.3")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// Intent nicht erkannt
Composite(Sequence) {
Decorator(Inverter) {
BTC.CompareUserSpeechInputStarted(false)
}
BTC.ClearPossbileSpeechIntents()
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.Show("Depthkit.VIDEOS.leggi")
BTC.Run("Depthkit.VIDEOS.leggi")
BTC.Hide("Depthkit.VIDEOS.leggi")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// 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.Show("Depthkit.VIDEOS.Intro5Kueche")
BTC.Run("Depthkit.VIDEOS.Intro5Kueche")
BTC.Hide("Depthkit.VIDEOS.Intro5Kueche")
// Pilze leuchten
Composite(Marathon) {
BTC.Enable("NamedOutline.INTERACTABLES.Pilz01")
BTC.Enable("NamedOutline.INTERACTABLES.Pilz02")
BTC.Enable("NamedOutline.INTERACTABLES.Pilz03")
BTC.Set("Collider.INTERACTABLES.GlassWasserTrigger", "otherTag", "Steinpilze")
}
Composite(Race) {
Composite(Sequence) {
// Pilze ins Wasser Glas legen
BTC.Run("Collider.INTERACTABLES.GlassWasserTrigger")
BTC.Run("Collider.INTERACTABLES.GlassWasserTrigger")
BTC.Run("Collider.INTERACTABLES.GlassWasserTrigger")
}
Composite(Sequence) {
// Keine Reaction
BTC.Wait(30)
// --- Kueche - Steinpilze Hilfe ---
BTC.Show("Depthkit.VIDEOS.SteinpilzeHilfe1Ku")
BTC.Run("Depthkit.VIDEOS.SteinpilzeHilfe1Ku")
BTC.Hide("Depthkit.VIDEOS.SteinpilzeHilfe1Ku")
// Pilze ins Wasser Glas legen
BTC.Run("Collider.INTERACTABLES.GlassWasserTrigger")
BTC.Run("Collider.INTERACTABLES.GlassWasserTrigger")
BTC.Run("Collider.INTERACTABLES.GlassWasserTrigger")
}
}
Composite(Marathon) {
BTC.Hide("Depthkit.VIDEOS.SteinpilzeHilfe1Ku")
BTC.Show("GO.STATIC.RezeptCheckmark1")
BTC.Disable("NamedOutline.INTERACTABLES.Pilz01")
BTC.Disable("NamedOutline.INTERACTABLES.Pilz02")
BTC.Disable("NamedOutline.INTERACTABLES.Pilz03")
}
RunTree("32_Grotto_Kueche_Zwiebeln_schneiden")
}
}
Tree("32_Grotto_Kueche_Zwiebeln_schneiden") {
// --- Kueche - Zwiebeln schneiden ---
Composite(Sequence) {
BTC.Show("Depthkit.VIDEOS.Zwiebelnschneiden1")
BTC.Run("Depthkit.VIDEOS.Zwiebelnschneiden1")
BTC.Hide("Depthkit.VIDEOS.Zwiebelnschneiden1")
// Zwiebeln schneiden
BTC.FindObjectsByTag("SlicedZwiebel", 6)
BTC.Show("GO.STATIC.RezeptCheckmark2")
BTC.Show("Depthkit.VIDEOS.Zwiebelnschneiden2")
BTC.Run("Depthkit.VIDEOS.Zwiebelnschneiden2")
BTC.Hide("Depthkit.VIDEOS.Zwiebelnschneiden2")
// Zutaten leuchten
Composite(Marathon) {
BTC.Enable("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Bouillon")
BTC.Show("GO/NamedSocketEvent.SOCKETS.BouillonSocket")
BTC.Enable("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Weisswein")
BTC.Show("GO/NamedSocketEvent.SOCKETS.WeissweinSocket")
BTC.Enable("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto")
BTC.Show("GO/NamedSocketEvent.SOCKETS.RisottoSocket")
BTC.Enable("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Olivenoel")
BTC.Show("GO/NamedSocketEvent.SOCKETS.OlivenoelSocket")
BTC.Enable("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Pfeffer")
BTC.Show("GO/NamedSocketEvent.SOCKETS.PfefferSocket")
BTC.Enable("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Salz")
BTC.Show("GO/NamedSocketEvent.SOCKETS.SalzSocket")
}
// Zutaten auf die Arbeitsflaeche legen mithilfe Sockets
Composite(Marathon) {
// Risotto
Composite(Sequence) {
//BTC.GetKeyDown("Return")
BTC.SetBool("RisottoIsSnapped", false)
Composite(Race) {
Composite(Sequence) {
// Success
BTC.Run("GO/NamedSocketEvent.SOCKETS.RisottoSocket")
BTC.SetBool("RisottoIsSnapped")
BTC.Disable("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto")
BTC.Hide("GO/NamedSocketEvent.SOCKETS.RisottoSocket")
}
Decorator(Repeat) {
Composite(Sequence) {
// Fail
BTC.ListenToEvent("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto")
BTC.Wait(1)
BTC.CompareBool("RisottoIsSnapped", false)
// Objekt geht zurueck
BTC.SetPosition("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto", -7.920319, 0.9762855, -16.10492)
BTC.Show("Depthkit.VIDEOS.Zwiebelnschneiden5")
BTC.Run("Depthkit.VIDEOS.Zwiebelnschneiden5")
BTC.Hide("Depthkit.VIDEOS.Zwiebelnschneiden5")
}
}
}
} // Sequence
// Salz
Composite(Sequence) {
BTC.SetBool("SalzIsSnapped", false)
Composite(Race) {
Composite(Sequence) {
// Success
BTC.Run("GO/NamedSocketEvent.SOCKETS.SalzSocket")
BTC.SetBool("SalzIsSnapped")
BTC.Disable("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Salz")
BTC.Hide("GO/NamedSocketEvent.SOCKETS.SalzSocket")
}
Decorator(Repeat) {
Composite(Sequence) {
// Fail
BTC.ListenToEvent("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Salz")
BTC.Wait(1)
BTC.CompareBool("SalzIsSnapped", false)
// Objekt geht zurueck
BTC.SetPosition("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Salz", -7.94902, 0.9696183, -16.31448)
BTC.Show("Depthkit.VIDEOS.Zwiebelnschneiden5")
BTC.Run("Depthkit.VIDEOS.Zwiebelnschneiden5")
BTC.Hide("Depthkit.VIDEOS.Zwiebelnschneiden5")
}
}
}
} // Sequence
// Pfeffer
Composite(Sequence) {
BTC.SetBool("PfefferIsSnapped", false)
Composite(Race) {
Composite(Sequence) {
// Success
BTC.Run("GO/NamedSocketEvent.SOCKETS.PfefferSocket")
BTC.SetBool("PfefferIsSnapped")
BTC.Disable("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Pfeffer")
BTC.Hide("GO/NamedSocketEvent.SOCKETS.PfefferSocket")
}
Decorator(Repeat) {
Composite(Sequence) {
// Fail
BTC.ListenToEvent("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Pfeffer")
BTC.Wait(1)
BTC.CompareBool("PfefferIsSnapped", false)
// Objekt geht zurueck
BTC.SetPosition("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Pfeffer", -7.923509, 0.976778, -16.23407)
BTC.Show("Depthkit.VIDEOS.Zwiebelnschneiden5")
BTC.Run("Depthkit.VIDEOS.Zwiebelnschneiden5")
BTC.Hide("Depthkit.VIDEOS.Zwiebelnschneiden5")
}
}
}
} // Sequence
// Weisswein
Composite(Sequence) {
BTC.SetBool("WeissweinIsSnapped", false)
Composite(Race) {
Composite(Sequence) {
// Success
BTC.Run("GO/NamedSocketEvent.SOCKETS.WeissweinSocket")
BTC.SetBool("WeissweinIsSnapped")
BTC.Disable("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Weisswein")
BTC.Hide("GO/NamedSocketEvent.SOCKETS.WeissweinSocket")
}
Decorator(Repeat) {
Composite(Sequence) {
// Fail
BTC.ListenToEvent("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Weisswein")
BTC.Wait(1)
BTC.CompareBool("WeissweinIsSnapped", false)
// Objekt geht zurueck
BTC.SetPosition("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Weisswein", -8.098644, 0.9762855, -16.33541)
BTC.Show("Depthkit.VIDEOS.Zwiebelnschneiden5")
BTC.Run("Depthkit.VIDEOS.Zwiebelnschneiden5")
BTC.Hide("Depthkit.VIDEOS.Zwiebelnschneiden5")
}
}
}
} // Sequence
// Bouillon
Composite(Sequence) {
BTC.SetBool("BouillonIsSnapped", false)
Composite(Race) {
Composite(Sequence) {
// Success
BTC.Run("GO/NamedSocketEvent.SOCKETS.BouillonSocket")
BTC.SetBool("BouillonIsSnapped")
BTC.Disable("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Bouillon")
BTC.Hide("GO/NamedSocketEvent.SOCKETS.BouillonSocket")
}
Decorator(Repeat) {
Composite(Sequence) {
// Fail
BTC.ListenToEvent("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Bouillon")
BTC.Wait(1)
BTC.CompareBool("BouillonIsSnapped", false)
// Objekt geht zurueck
BTC.SetPosition("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Bouillon", -8.082785, 0.9762855, -15.99537)
BTC.Show("Depthkit.VIDEOS.Zwiebelnschneiden5")
BTC.Run("Depthkit.VIDEOS.Zwiebelnschneiden5")
BTC.Hide("Depthkit.VIDEOS.Zwiebelnschneiden5")
}
}
}
} // Sequence
// Olivenoel
Composite(Sequence) {
BTC.SetBool("OlivenoelIsSnapped", false)
Composite(Race) {
Composite(Sequence) {
// Success
BTC.Run("GO/NamedSocketEvent.SOCKETS.OlivenoelSocket")
BTC.SetBool("OlivenoelIsSnapped")
BTC.Disable("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Olivenoel")
BTC.Hide("GO/NamedSocketEvent.SOCKETS.OlivenoelSocket")
}
Decorator(Repeat) {
Composite(Sequence) {
// Fail
BTC.ListenToEvent("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Olivenoel")
BTC.Wait(1)
BTC.CompareBool("OlivenoelIsSnapped", false)
// Objekt geht zurueck
BTC.SetPosition("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Olivenoel", -8.0905, 0.9762856, -16.20448)
BTC.Show("Depthkit.VIDEOS.Zwiebelnschneiden5")
BTC.Run("Depthkit.VIDEOS.Zwiebelnschneiden5")
BTC.Hide("Depthkit.VIDEOS.Zwiebelnschneiden5")
}
}
}
} // Sequence
}
BTC.Wait(1)
BTC.Hide("Depthkit.VIDEOS.Zwiebelnschneiden5")
RunTree("32_Grotto_Kueche_alles_gefunden")
}
}
Tree("32_Grotto_Kueche_alles_gefunden") {
// --- Kueche - alles gefunden ---
Composite(Sequence) {
BTC.Show("Depthkit.VIDEOS.allesgefunden1Kuec")
BTC.Run("Depthkit.VIDEOS.allesgefunden1Kuec")
BTC.Hide("Depthkit.VIDEOS.allesgefunden1Kuec")
// Oel in Topf geben
BTC.Run("Particle.INTERACTABLES.Olivenoel")
BTC.Show("GO.STATIC.RezeptCheckmark3")
BTC.Show("Depthkit.VIDEOS.allesgefunden2Kuec")
BTC.Run("Depthkit.VIDEOS.allesgefunden2Kuec")
BTC.Hide("Depthkit.VIDEOS.allesgefunden2Kuec")
// Herd anstellen - ToDo: Handling in Story?
//BTC.Run("NamedGrabEvent.STATIC.Herdschalter")
//BTC.Run("StudioEventEmitter.STATIC.HerdplatteAnstelle")
// Zwiebeln in Topf geben
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "SlicedZwiebel")
BTC.Run("Collider.INTERACTABLES.Topf")
BTC.Run("StudioEventEmitter.INTERACTABLES.ZwiebelnInTopf")
BTC.Show("GO.STATIC.RezeptCheckmark4")
BTC.Show("Depthkit.VIDEOS.allesgefunden3Kuec")
BTC.Run("Depthkit.VIDEOS.allesgefunden3Kuec")
BTC.Hide("Depthkit.VIDEOS.allesgefunden3Kuec")
// Frage beantworten
BTC.AddPossbileSpeechIntent("Kueche.alles_gefunden.4")
BTC.AddPossbileSpeechIntent("Kueche.alles_gefunden.6")
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("Kueche.alles_gefunden.4")
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Kueche_Interesse_Kochen")
}
Composite(Sequence) {
BTC.CompareIntentID("Kueche.alles_gefunden.6")
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
}
}
}
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
// 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.")
BTC.Show("GO.GO.Option2Button")
}
Composite(Race) {
Composite(Sequence) {
// Ja
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_Kueche_Interesse_Kochen")
}
Composite(Sequence) {
// Nein
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_Kueche_Zusammen_Kochen")
}
}
}
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
// 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.")
BTC.Show("GO.GO.Option2Button")
}
Composite(Race) {
Composite(Sequence) {
// Ja
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_Kueche_Interesse_Kochen")
}
Composite(Sequence) {
// Nein
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_Kueche_Zusammen_Kochen")
}
}
}
}
}
}
Tree("32_Grotto_Kueche_Interesse_Kochen") {
// --- Kueche - Interesse Kochen ---
Composite(Sequence) {
BTC.Show("Depthkit.VIDEOS.InteresseKochen1Ku")
BTC.Run("Depthkit.VIDEOS.InteresseKochen1Ku")
BTC.Hide("Depthkit.VIDEOS.InteresseKochen1Ku")
// Frage beantworten
BTC.AddPossbileSpeechIntent("Kueche.Interesse_Kochen.2")
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
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Kueche_Kochen_Anzahl")
}
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Kueche_Kochen_Anzahl")
}
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
}
}
}
}
Tree("32_Grotto_Kueche_Kochen_Anzahl") {
// --- Kueche - Kochen Anzahl ---
Composite(Sequence) {
BTC.Show("Depthkit.VIDEOS.KochenAnzahl1Kuech")
BTC.Run("Depthkit.VIDEOS.KochenAnzahl1Kuech")
BTC.Hide("Depthkit.VIDEOS.KochenAnzahl1Kuech")
// Frage beantworten
BTC.AddPossbileSpeechIntent("Kueche.Kochen_Anzahl.2")
BTC.AddPossbileSpeechIntent("Kueche.Kochen_Anzahl.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("Kueche.Kochen_Anzahl.2")
BTC.ClearPossbileSpeechIntents()
//RunTree("32_Grotto_Kueche_Selbststaendig_Kochen")
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
}
Composite(Sequence) {
BTC.CompareIntentID("Kueche.Kochen_Anzahl.4")
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
}
}
}
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
// 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")
BTC.Show("GO.GO.Option2Button")
}
Composite(Race) {
Composite(Sequence) {
// sehr oft
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_Kueche_Selbststaendig_Kochen")
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
}
Composite(Sequence) {
// selten
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_Kueche_Zusammen_Kochen")
}
}
}
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
}
}
}
}
Tree("32_Grotto_Kueche_Zusammen_Kochen") {
// --- Kueche - Zusammen Kochen ---
Composite(Sequence) {
BTC.Show("Depthkit.VIDEOS.ZusammenKochen1Kue")
BTC.Run("Depthkit.VIDEOS.ZusammenKochen1Kue")
BTC.Hide("Depthkit.VIDEOS.ZusammenKochen1Kue")
// Risotto in Topf geben
BTC.Run("GO/Particle.INTERACTABLES.Risotto")
BTC.Hide("GO.INTERACTABLES.Reis")
BTC.Hide("GO/Particle.INTERACTABLES.Risotto")
BTC.Show("GO.STATIC.RezeptCheckmark5")
// Ruehren
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Loeffel")
BTC.Run("Collider.INTERACTABLES.Topf")
BTC.Wait(2) // Wie lange ruehren?
BTC.Show("Depthkit.VIDEOS.ZusammenKochen2Kue")
BTC.Run("Depthkit.VIDEOS.ZusammenKochen2Kue")
BTC.Hide("Depthkit.VIDEOS.ZusammenKochen2Kue")
// Wein in Topf giessen
BTC.Run("Particle.INTERACTABLES.Weisswein")
BTC.StopSound("StudioEventEmitter.INTERACTABLES.ZwiebelnInTopf")
BTC.Run("StudioEventEmitter.INTERACTABLES.Abloeschen")
BTC.Show("GO.STATIC.RezeptCheckmark6")
Composite(Marathon) {
Composite(Sequence) {
BTC.Wait(16)
BTC.SetFloat("StudioEventEmitter.INTERACTABLES.Abloeschen", "blubbern.transition", 1)
BTC.Show("GO.INTERACTABLES.ChangeSound") // Ruehren
}
Composite(Sequence) {
BTC.Wait(5)
BTC.Show("Depthkit.VIDEOS.ZusammenKochen3Kue")
BTC.Run("Depthkit.VIDEOS.ZusammenKochen3Kue")
BTC.Hide("Depthkit.VIDEOS.ZusammenKochen3Kue")
}
}
// Bouillon in Topf geben
BTC.Run("Particle.INTERACTABLES.Bouillon")
BTC.Show("GO.STATIC.RezeptCheckmark7")
BTC.Show("Depthkit.VIDEOS.ZusammenKochen4Kue")
BTC.Run("Depthkit.VIDEOS.ZusammenKochen4Kue")
BTC.Hide("Depthkit.VIDEOS.ZusammenKochen4Kue")
// Glas Wasser mit Steinpilze in Topf geben
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Steinpilze")
BTC.Run("Collider.INTERACTABLES.Topf")
BTC.Show("GO.STATIC.RezeptCheckmark8")
RunTree("32_Grotto_Kueche_Parmigiano")
}
}
Tree("32_Grotto_Kueche_Parmigiano") {
// --- Kueche - Parmigiano ---
Composite(Sequence) {
BTC.Show("Depthkit.VIDEOS.ZusammenKochen5Kue")
BTC.Run("Depthkit.VIDEOS.ZusammenKochen5Kue")
BTC.Hide("Depthkit.VIDEOS.ZusammenKochen5Kue")
// Parmigiano in Topf geben
BTC.Run("Particle.INTERACTABLES.Parmesan")
BTC.Show("GO.STATIC.RezeptCheckmark9")
BTC.Show("Depthkit.VIDEOS.ZusammenKochen6Kue")
BTC.Run("Depthkit.VIDEOS.ZusammenKochen6Kue")
BTC.Hide("Depthkit.VIDEOS.ZusammenKochen6Kue")
// Antwort User
BTC.AddPossbileSpeechIntent("Kueche.Zusammen_Kochen.6")
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
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.Show("Depthkit.VIDEOS.ZusammenKochen7Kue")
BTC.Run("Depthkit.VIDEOS.ZusammenKochen7Kue")
BTC.Hide("Depthkit.VIDEOS.ZusammenKochen7Kue")
// Stelle für Pfanne leuchtet
BTC.Enable("NamedOutline.INTERACTABLES.TopfUntersetzer")
BTC.Set("Collider.INTERACTABLES.Topfuntersetzer", "otherTag", "Topf")
Composite(Race) {
Composite(Sequence) {
// Pfanne rueber stellen
BTC.Run("Collider.INTERACTABLES.Topfuntersetzer")
}
Composite(Sequence) {
// Keine Reaction
BTC.Wait(5)
BTC.Show("Depthkit.VIDEOS.ZusammenKochen8Kue")
BTC.Run("Depthkit.VIDEOS.ZusammenKochen8Kue")
BTC.Hide("Depthkit.VIDEOS.ZusammenKochen8Kue")
// Pfanne rueber stellen
BTC.Run("Collider.INTERACTABLES.Topfuntersetzer")
}
}
BTC.Hide("Depthkit.VIDEOS.ZusammenKochen8Kue")
BTC.Disable("NamedOutline.INTERACTABLES.TopfUntersetzer")
BTC.Show("Depthkit.VIDEOS.ZusammenKochen10Ku")
BTC.Run("Depthkit.VIDEOS.ZusammenKochen10Ku")
BTC.Hide("Depthkit.VIDEOS.ZusammenKochen10Ku")
BTC.Show("Depthkit.VIDEOS.ZusammenKochen12Ku")
BTC.Run("Depthkit.VIDEOS.ZusammenKochen12Ku")
BTC.Hide("Depthkit.VIDEOS.ZusammenKochen12Ku")
// --- Kueche - Outro ---
BTC.Show("Depthkit.VIDEOS.Outro1Kueche")
BTC.Run("Depthkit.VIDEOS.Outro1Kueche")
BTC.Hide("Depthkit.VIDEOS.Outro1Kueche")
BTC.Show("Depthkit.VIDEOS.Outro2Kueche")
BTC.Run("Depthkit.VIDEOS.Outro2Kueche")
BTC.Hide("Depthkit.VIDEOS.Outro2Kueche")
// Name sagen
BTC.AddPossbileSpeechIntent("Kueche.Outro.4")
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.Show("Depthkit.VIDEOS.Outro7Kueche")
BTC.Run("Depthkit.VIDEOS.Outro7Kueche")
BTC.Hide("Depthkit.VIDEOS.Outro7Kueche")
BTC.Show("Depthkit.VIDEOS.Outro8Kueche")
BTC.Run("Depthkit.VIDEOS.Outro8Kueche")
BTC.Hide("Depthkit.VIDEOS.Outro8Kueche")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.32Grotto3")
}
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f2b6bcb5e44ed4e0394e4d163e82de88
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,597 @@
Tree("Root") {
Composite(Sequence) {
BTC.InitializeSpeechManager()
BTC.SetSpeechRecognitionLanguage("it-IT")
BTC.SetVoiceName("it-IT-FabiolaNeural")
Composite(Race) {
Composite(Sequence) {
// Error in Speech Service: Cancel BTC Trees
BTC.SpeechErrorOccured()
BTC.SetBool("error")
}
Composite(Sequence) {
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
RunTree("32_Grotto_Im_Grotto_Essen_Intro")
}
}
Composite(Sequence) {
BTC.CompareBool("error")
// Error Handling
BTC.AbortSpeechEventListener()
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")
}
}
}
Tree("32_Grotto_Im_Grotto_Essen_Intro") {
// --- Im Grotto Essen - Intro ---
Composite(Sequence) {
Composite(Marathon) {
BTC.Run("StudioEventEmitter.STATIC.KuechenAmbi")
BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
}
BTC.Show("Depthkit.VIDEOS.Intro1ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Intro1ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Intro1ImGrottoesse")
BTC.Show("Depthkit.VIDEOS.Intro2ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Intro2ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Intro2ImGrottoesse")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Intro.3")
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.Show("Depthkit.VIDEOS.Intro6ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Intro6ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Intro6ImGrottoesse")
BTC.Show("Depthkit.VIDEOS.Intro7ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Intro7ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Intro7ImGrottoesse")
BTC.Show("Depthkit.VIDEOS.Intro8ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Intro8ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Intro8ImGrottoesse")
BTC.Show("Depthkit.VIDEOS.Intro9ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Intro9ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Intro9ImGrottoesse")
BTC.Show("Depthkit.VIDEOS.Intro10ImGrottoess")
BTC.Run("Depthkit.VIDEOS.Intro10ImGrottoess")
BTC.Hide("Depthkit.VIDEOS.Intro10ImGrottoess")
// --- Im Grotto Essen - Zweite Bestellung ---
BTC.Show("Depthkit.VIDEOS.NachfrageKellner1I")
BTC.Run("Depthkit.VIDEOS.NachfrageKellner1I")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellner1I")
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()
}
// -- 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()
// 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 ---
BTC.Show("Depthkit.VIDEOS.NachfrageKellnerEs_01")
BTC.Run("Depthkit.VIDEOS.NachfrageKellnerEs_01")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerEs_01")
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.Show("Depthkit.VIDEOS.NachfrageKellnerun_01")
BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_01")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_01")
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.Show("Depthkit.VIDEOS.NachfrageKellnerun_03")
BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_03")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_03")
BTC.Wait(5)
BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_04")
BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_04")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_04")
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 hinstellen fuer User und Franscesca
BTC.Show("GO.INTERACTABLES.GazosaMandarina")
BTC.Show("GO.INTERACTABLES.Tazzin")
BTC.Show("GO.INTERACTABLES.Gazosa")
BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_09")
BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_09")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_09")
BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_10")
BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_10")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_10")
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.Show("Depthkit.VIDEOS.NachfrageKellnerun_15")
BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_15")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_15")
BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_16")
BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_16")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_16")
BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_18")
BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_18")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_18")
Composite(Marathon) {
BTC.Show("GO.INTERACTABLES.PizochenFrancesca")
Composite(Race) {
Composite(Sequence) {
BTC.CompareBool("ChoosedPizochen")
BTC.Show("GO.INTERACTABLES.PizochenUser")
}
Composite(Sequence) {
BTC.CompareBool("ChoosedInsalata")
BTC.Show("GO.INTERACTABLES.InsalataUser")
}
Composite(Sequence) {
BTC.CompareBool("ChoosedRisotto")
BTC.Show("GO.INTERACTABLES.RisottoUser")
}
}
}
BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_22")
BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_22")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_22")
BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_23")
BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_23")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_23")
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 ---
Composite(Marathon) {
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -1.14, 0, 1.698)
BTC.SetPosition("GO.HANDMENU", -1.14, 0, 1.698)
BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", 60.0)
BTC.RotateToAngle("GO.HANDMENU", 60.0)
}
BTC.Show("Depthkit.VIDEOS.Outro1ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Outro1ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Outro1ImGrottoesse")
BTC.Show("Depthkit.VIDEOS.Outro2ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Outro2ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Outro2ImGrottoesse")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Outro.3")
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.Show("Depthkit.VIDEOS.Outro6ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Outro6ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Outro6ImGrottoesse")
BTC.Show("Depthkit.VIDEOS.Outro7ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Outro7ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Outro7ImGrottoesse")
BTC.Show("Depthkit.VIDEOS.Outro8ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Outro8ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Outro8ImGrottoesse")
BTC.Show("Depthkit.VIDEOS.Outro10ImGrottoess")
BTC.Run("Depthkit.VIDEOS.Outro10ImGrottoess")
BTC.Hide("Depthkit.VIDEOS.Outro10ImGrottoess")
RunTree("32_Grotto_Hide")
}
}
Tree("32_Grotto_Hide") {
Composite(Sequence) {
// Go to scene 1.0 SBB
BTC.SetStoryBVisited()
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.10SBB")
}
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: c37af0f8d46e94262a8b34b05d8028e9
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -67,6 +67,10 @@ public class NamedFadeScene : ComponentHandler
switch (nodeState)
{
case NodeState.FirstRun:
if (gameObject.activeSelf == false)
{
gameObject.SetActive(true);
}
StartCoroutine(FadeAlpha(1f, 0f));
break;
case NodeState.Running:

View File

@ -4318,8 +4318,7 @@ GameObject:
- component: {fileID: 5609783126170184832}
- component: {fileID: 2080945054030197006}
- component: {fileID: 6118340619481198289}
- component: {fileID: 1401986941009970128}
- component: {fileID: 5757911301283510616}
- component: {fileID: 5970364696197522222}
m_Layer: 9
m_Name: NamedEventTrigger.HANDMENU.SkipChapterButton_1065912
m_TagString: Untagged
@ -4412,6 +4411,18 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 5970364696197522222}
m_TargetAssemblyTypeName: LoadScene, Assembly-CSharp
m_MethodName: OnClickLoadScene
m_Mode: 5
m_Arguments:
m_ObjectArgument: {fileID: 8300000, guid: eeeda5dce5e1d344f8e2f6195f16cb38, type: 3}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &6118340619481198289
MonoBehaviour:
m_ObjectHideFlags: 0
@ -4425,7 +4436,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Delegates: []
--- !u!114 &1401986941009970128
--- !u!114 &5970364696197522222
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -4434,29 +4445,10 @@ MonoBehaviour:
m_GameObject: {fileID: 4190948757682116922}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Script: {fileID: 11500000, guid: 8a02dc30496e7423a8975149cb40fdbe, type: 3}
m_Name:
m_EditorClassIdentifier:
handlers:
- {fileID: 5757911301283510616}
roomId: HANDMENU
uniqueId: 1065912
--- !u!114 &5757911301283510616
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4190948757682116922}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c0c48df2635574b2d9d0e21070a4827e, type: 3}
m_Name:
m_EditorClassIdentifier:
showHelpText: 0
fadeInTime: 1.5
fadeOutTime: 1.5
objName: SkipChapterButton
loadSceneMode: 0
--- !u!1 &4422436631132191031
GameObject:
m_ObjectHideFlags: 0

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -149,7 +149,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 784778141794972717, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
propertyPath: m_Name
value: TextMeshPro.HANDMENU.Option1Button_305620
value: TextMeshPro.HANDMENU.Option1Button_2808336
objectReference: {fileID: 0}
- target: {fileID: 1401986941009970128, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
propertyPath: uniqueId
@ -165,7 +165,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 2050573482378976592, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
propertyPath: m_Name
value: TextMeshPro.HANDMENU.Option2Button_305614
value: TextMeshPro.HANDMENU.Option2Button_2808330
objectReference: {fileID: 0}
- target: {fileID: 2185744855848736044, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
propertyPath: uniqueId
@ -273,7 +273,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8782175979013437306, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
propertyPath: m_Name
value: TextMeshPro.HANDMENU.Option3Button_305608
value: TextMeshPro.HANDMENU.Option3Button_2808324
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
@ -291,17 +291,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &7840679 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 7263654527900220643, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
m_PrefabInstance: {fileID: 7840677}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &7840680 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 8061268387521178252, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
@ -324,17 +313,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &7840682 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 7842760327751594417, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
m_PrefabInstance: {fileID: 7840677}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &7840683 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 5043064095138479469, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
@ -357,17 +335,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &7840685 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 8915473895132193941, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
m_PrefabInstance: {fileID: 7840677}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &7840686 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 240211946506320929, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
@ -401,17 +368,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &7840689 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1401986941009970128, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
m_PrefabInstance: {fileID: 7840677}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &7840690 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1728074381097661315, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
@ -3529,14 +3485,14 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
namedObjects:
- {fileID: 411487687}
- {fileID: 1728074381097661315, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 1401986941009970128, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 2615893722691818977, guid: ea46eac23ee4041d08d72ff651ddc3d2, type: 3}
- {fileID: 4055882210474299012, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 4861931573494781030, guid: 760ca66a6888341999f27c6e23ec905e, type: 3}
- {fileID: 5173265794982869292, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 2185744855848736044, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 1728074381097661315, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 240211946506320929, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 1550598400944840158, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 2185744855848736044, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 3179213291823671039, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 5043064095138479469, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 5903078286478072736, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
@ -3566,24 +3522,21 @@ MonoBehaviour:
- {fileID: 8060756085315617808, guid: 467183ffcdf2f7548910870be3e37edd, type: 3}
- {fileID: 1994069374196164309, guid: 653ab80a80abe8546be4e687c9b9185b, type: 3}
- {fileID: 2022776639914118920, guid: 2e73a14fb7a3032488da6817cf5f8ed6, type: 3}
- {fileID: 4861931573494781030, guid: 760ca66a6888341999f27c6e23ec905e, type: 3}
- {fileID: 3467805620753594136, guid: 5eccbf4be2c00e94689ee8062e4e7276, type: 3}
- {fileID: 2615893722691818977, guid: ea46eac23ee4041d08d72ff651ddc3d2, type: 3}
- {fileID: 7840678}
- {fileID: 7840679}
- {fileID: 7840680}
- {fileID: 7840681}
- {fileID: 7840682}
- {fileID: 7840683}
- {fileID: 7840684}
- {fileID: 7840685}
- {fileID: 7840686}
- {fileID: 7840687}
- {fileID: 7840688}
- {fileID: 7840689}
- {fileID: 7840690}
- {fileID: 411487687}
- {fileID: 446643454}
- {fileID: 512511346}
- {fileID: 1561460987}
- {fileID: 1651510983}
autoUpdateAllObjects: 1
cameraRoot: {fileID: 0}
--- !u!114 &1873602412
@ -3608,7 +3561,7 @@ MonoBehaviour:
overrideLogStringDisplay: 0
overrideDebugInternalActive: 0
overrideDebugChangesActive: 0
instanceID: 355710
instanceID: 2808508
__behaviourTreeGenerator: {fileID: 0}
taskScripts:
- {fileID: 4900000, guid: aceafeb25fe43443aa61f49093d6ed3b, type: 3}

File diff suppressed because it is too large Load Diff

View File

@ -6991,17 +6991,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1208208130 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1401986941009970128, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
m_PrefabInstance: {fileID: 1208208118}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1208208131 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1728074381097661315, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
@ -11176,14 +11165,14 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
namedObjects:
- {fileID: 1077492758}
- {fileID: 1728074381097661315, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 1401986941009970128, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 2615893722691818977, guid: ea46eac23ee4041d08d72ff651ddc3d2, type: 3}
- {fileID: 4055882210474299012, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 4861931573494781030, guid: 760ca66a6888341999f27c6e23ec905e, type: 3}
- {fileID: 5173265794982869292, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 2185744855848736044, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 1728074381097661315, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 240211946506320929, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 1550598400944840158, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 2185744855848736044, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 3179213291823671039, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 5043064095138479469, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
- {fileID: 5903078286478072736, guid: 90dfe96f41d164a3081b56f73f4214e4, type: 3}
@ -11213,9 +11202,7 @@ MonoBehaviour:
- {fileID: 8060756085315617808, guid: 467183ffcdf2f7548910870be3e37edd, type: 3}
- {fileID: 1994069374196164309, guid: 653ab80a80abe8546be4e687c9b9185b, type: 3}
- {fileID: 2022776639914118920, guid: 2e73a14fb7a3032488da6817cf5f8ed6, type: 3}
- {fileID: 4861931573494781030, guid: 760ca66a6888341999f27c6e23ec905e, type: 3}
- {fileID: 3467805620753594136, guid: 5eccbf4be2c00e94689ee8062e4e7276, type: 3}
- {fileID: 2615893722691818977, guid: ea46eac23ee4041d08d72ff651ddc3d2, type: 3}
- {fileID: 18036878}
- {fileID: 67039065}
- {fileID: 70473848}
@ -11232,6 +11219,7 @@ MonoBehaviour:
- {fileID: 715895904}
- {fileID: 959719074}
- {fileID: 1001639895}
- {fileID: 1077492758}
- {fileID: 1142925090}
- {fileID: 1158279900}
- {fileID: 1208208119}
@ -11245,7 +11233,6 @@ MonoBehaviour:
- {fileID: 1208208127}
- {fileID: 1208208128}
- {fileID: 1208208129}
- {fileID: 1208208130}
- {fileID: 1208208131}
- {fileID: 1222445509}
- {fileID: 1258603049}
@ -11281,7 +11268,7 @@ MonoBehaviour:
overrideLogStringDisplay: 0
overrideDebugInternalActive: 0
overrideDebugChangesActive: 0
instanceID: 70462
instanceID: 2905222
__behaviourTreeGenerator: {fileID: 0}
taskScripts:
- {fileID: 4900000, guid: f304d07c67c1a479d815a03f4ab1812a, type: 3}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -17,9 +17,6 @@ EditorBuildSettings:
- enabled: 1
path: Assets/Scenes/2.0-SBB.unity
guid: 0492708372646415eb23036f23680178
- enabled: 1
path: Assets/Scenes/2.1-Slideshow.unity
guid: d30b9a945a08543918f700fd6e5cd57e
- enabled: 1
path: Assets/Scenes/2.2-Geschaeft.unity
guid: 498707af75f244daa9eacd8a71c6ee5f
@ -30,14 +27,14 @@ EditorBuildSettings:
path: Assets/Scenes/3.0-SBB.unity
guid: a21f6e13e09234179a685c8f89b0e031
- enabled: 1
path: Assets/Scenes/3.1-Slideshow.unity
guid: 4a08bc26692b04e5da8898f704f20b69
path: Assets/Scenes/3.2-Grotto1.unity
guid: b27cb7d9a21e8ee4e840d82d91ef4704
- enabled: 1
path: Assets/Scenes/3.2-Grotto.unity
guid: 73660f1e1eb0e524fb6b6f42ca2c7b54
path: Assets/Scenes/3.2-Grotto2.unity
guid: 29eb141b9ba0d10498d9c1caf0961359
- enabled: 1
path: Assets/Scenes/3.5-Slideshow.unity
guid: f6bca66b31e88434d98bdbed5c399b64
path: Assets/Scenes/3.2-Grotto3.unity
guid: e3d34354680716649befc361ed0ac6df
m_configObjects:
Unity.XR.Oculus.Settings: {fileID: 11400000, guid: bfa1182bd221b4ca89619141f66f1260, type: 2}
com.unity.xr.openxr.settings4: {fileID: 11400000, guid: 0f4832b23b368b643bc8a91696fbb473, type: 2}