Compare commits

..

No commits in common. "85dc32a7398a16ac32a63d974365900760842335" and "876319129861197d70f0506bcbc47158df891d6e" have entirely different histories.

14 changed files with 434751 additions and 752838 deletions

View File

@ -280,37 +280,7 @@ AnimationClip:
m_RotationOrder: 4 m_RotationOrder: 4
path: schiebetuere/tuere.002 path: schiebetuere/tuere.002
m_ScaleCurves: [] m_ScaleCurves: []
m_FloatCurves: m_FloatCurves: []
- serializedVersion: 2
curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 4.9
value: 0
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_IsActive
path: schiebetuere/TuerOeffnenSound
classID: 1
script: {fileID: 0}
flags: 0
m_PPtrCurves: [] m_PPtrCurves: []
m_SampleRate: 60 m_SampleRate: 60
m_WrapMode: 0 m_WrapMode: 0
@ -346,22 +316,13 @@ AnimationClip:
isPPtrCurve: 0 isPPtrCurve: 0
isIntCurve: 0 isIntCurve: 0
isSerializeReferenceCurve: 0 isSerializeReferenceCurve: 0
- serializedVersion: 2
path: 2001486926
attribute: 2086281974
script: {fileID: 0}
typeID: 1
customType: 0
isPPtrCurve: 0
isIntCurve: 0
isSerializeReferenceCurve: 0
pptrCurveMapping: [] pptrCurveMapping: []
m_AnimationClipSettings: m_AnimationClipSettings:
serializedVersion: 2 serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0} m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0 m_AdditiveReferencePoseTime: 0
m_StartTime: 0 m_StartTime: 0
m_StopTime: 4.9 m_StopTime: 4.883333
m_OrientationOffsetY: 0 m_OrientationOffsetY: 0
m_Level: 0 m_Level: 0
m_CycleOffset: 0 m_CycleOffset: 0
@ -971,36 +932,6 @@ AnimationClip:
classID: 4 classID: 4
script: {fileID: 0} script: {fileID: 0}
flags: 16 flags: 16
- serializedVersion: 2
curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 4.9
value: 0
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_IsActive
path: schiebetuere/TuerOeffnenSound
classID: 1
script: {fileID: 0}
flags: 0
m_EulerEditorCurves: m_EulerEditorCurves:
- serializedVersion: 2 - serializedVersion: 2
curve: curve:

View File

@ -13,9 +13,7 @@
Composite(Sequence) { Composite(Sequence) {
RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro")
//RunTree("22_Geschaeft_Story_A_Picknicken_Mitnehmen") //RunTree("22_Geschaeft_Story_A_Picknicken_Mitnehmen")
//RunTree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf")
//RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro")
} }
} }
@ -476,11 +474,12 @@ Tree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf") {
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle10") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle10")
} }
BTC.Run("MediaPlayer.VIDEOS.NachfrageBezahlung_FIdle01") // --- old
BTC.Run("MediaPlayer.VIDEOS.DankEinkaufV2") BTC.Show("Depthkit.VIDEOS.DankEinkauf1StoryA")
BTC.Run("Depthkit.VIDEOS.DankEinkauf1StoryA")
BTC.Hide("Depthkit.VIDEOS.DankEinkauf1StoryA")
BTC.Run("MediaPlayer.VIDEOS.DankEinkaufVidle3") BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Dank_Einkauf.2")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -513,45 +512,41 @@ Tree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf") {
} }
// --- Story A Picknicken - Bestellung Begleiter --- // --- Story A Picknicken - Bestellung Begleiter ---
BTC.Hide("MediaPlayer.VIDEOS.DankEinkaufVidle3") BTC.Show("Depthkit.VIDEOS.BestellungBegleite_01")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_01")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_01")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle1") BTC.Show("Depthkit.VIDEOS.BestellungBegleite_02")
BTC.Hide("MediaPlayer.VIDEOS.NachfrageBezahlung_FIdle01") BTC.Run("Depthkit.VIDEOS.BestellungBegleite_02")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_F2") BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_02")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_FIdle3") BTC.Show("Depthkit.VIDEOS.BestellungBegleite_03")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle1") BTC.Run("Depthkit.VIDEOS.BestellungBegleite_03")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_V4") BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_03")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle5") BTC.Show("Depthkit.VIDEOS.BestellungBegleite_04")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_FIdle3") BTC.Run("Depthkit.VIDEOS.BestellungBegleite_04")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_F6") BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_04")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_FIdle7") BTC.Show("Depthkit.VIDEOS.BestellungBegleite_05")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle5") BTC.Run("Depthkit.VIDEOS.BestellungBegleite_05")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_V8") BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_05")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle9") BTC.Show("Depthkit.VIDEOS.BestellungBegleite_06")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_FIdle7") BTC.Run("Depthkit.VIDEOS.BestellungBegleite_06")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_F10") BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_06")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_FIdle11") BTC.Show("Depthkit.VIDEOS.BestellungBegleite_08")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle9") BTC.Run("Depthkit.VIDEOS.BestellungBegleite_08")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_V12") BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_08")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle13") BTC.Show("Depthkit.VIDEOS.BestellungBegleite_09")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_FIdle11") BTC.Run("Depthkit.VIDEOS.BestellungBegleite_09")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_09")
Composite(Marathon) { BTC.Show("Depthkit.VIDEOS.BestellungBegleite_10")
BTC.Run("MediaPlayer.VIDEOS.NachfrageBezahlung_F6") // Ersatz F14 BTC.Run("Depthkit.VIDEOS.BestellungBegleite_10")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_10")
Composite(Sequence) {
BTC.Wait(3)
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle13")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_V16")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle17")
}
}
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black") BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro")
@ -563,49 +558,44 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
Composite(Sequence) { Composite(Sequence) {
Composite(Marathon) { Composite(Marathon) {
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle14") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle14")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle17")
// Init Position User
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -0.718, 0, -0.28)
BTC.SetPosition("GO.HANDMENU", -0.85, 0, -0.28)
BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", -90.0)
BTC.RotateToAngle("GO.HANDMENU", -90.0)
} }
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_01")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_03")
BTC.Show("Animator.AnimatorBaeckereiT") BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
BTC.Show("Depthkit.VIDEOS.0BaeckereiOutro")
Composite(Marathon) { Composite(Marathon) {
Composite(Marathon) { BTC.Run("Depthkit.VIDEOS.0BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE1")
Composite(Sequence) {
BTC.Wait(3)
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_03")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF4")
}
}
Composite(Sequence) { Composite(Sequence) {
BTC.Wait(1) BTC.Wait(3)
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black") BTC.Show("Animator.AnimatorBaeckereiT")
} }
} }
BTC.Hide("Depthkit.VIDEOS.0BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_04") BTC.Show("Depthkit.VIDEOS.1BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE5") BTC.Run("Depthkit.VIDEOS.1BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE6") BTC.Hide("Depthkit.VIDEOS.1BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_07") BTC.Show("Depthkit.VIDEOS.2BaeckereiOutro")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_04") BTC.Run("Depthkit.VIDEOS.2BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF8") BTC.Hide("Depthkit.VIDEOS.2BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_09") BTC.Show("Depthkit.VIDEOS.3BaeckereiOutro")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_07") BTC.Run("Depthkit.VIDEOS.3BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE10") BTC.Hide("Depthkit.VIDEOS.3BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_11") BTC.Show("Depthkit.VIDEOS.4BaeckereiOutro")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID BTC.Run("Depthkit.VIDEOS.4BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.4BaeckereiOutro")
BTC.Show("Depthkit.VIDEOS.5BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.5BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.5BaeckereiOutro")
BTC.AddPossbileSpeechIntent("Baeckerei_Outro.6")
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -637,10 +627,35 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
} }
} }
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_11") BTC.Show("Depthkit.VIDEOS.9BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE12") BTC.Run("Depthkit.VIDEOS.9BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_13") BTC.Hide("Depthkit.VIDEOS.9BaeckereiOutro")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.Show("Depthkit.VIDEOS.10BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.10BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.10BaeckereiOutro")
BTC.Show("Depthkit.VIDEOS.11BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.11BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.11BaeckereiOutro")
BTC.Show("Depthkit.VIDEOS.12BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.12BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.12BaeckereiOutro")
BTC.Show("Depthkit.VIDEOS.13BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.13BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.13BaeckereiOutro")
// Enrico geht, Tuere schliesst
BTC.StopSound("StudioEventEmitter.STATIC.DraussenAmbi")
BTC.Show("Depthkit.VIDEOS.15BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.15BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.15BaeckereiOutro")
BTC.AddPossbileSpeechIntent("Baeckerei_Outro.16")
BTC.AddPossbileSpeechIntent("Baeckerei_Outro.18")
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -652,12 +667,89 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
// -- Selector 1: Intent erkannt // -- Selector 1: Intent erkannt
Composite(Sequence) { Composite(Sequence) {
BTC.SpeechIntentRecognized() BTC.SpeechIntentRecognized()
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Baeckerei_Outro.16")
BTC.SetBool("ChoosedWalking")
}
Composite(Sequence) {
BTC.CompareIntentID("Baeckerei_Outro.18")
BTC.SetBool("ChoosedDriving")
}
}
BTC.ClearPossbileSpeechIntents() BTC.ClearPossbileSpeechIntents()
} }
// -- Selector 2: Intent nicht erkannt // -- Selector 2: Intent nicht erkannt
Composite(Sequence) { Composite(Sequence) {
BTC.ClearPossbileSpeechIntents() BTC.Show("Depthkit.VIDEOS.22BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.22BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.22BaeckereiOutro")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Baeckerei_Outro.16")
BTC.SetBool("ChoosedWalking")
}
Composite(Sequence) {
BTC.CompareIntentID("Baeckerei_Outro.18")
BTC.SetBool("ChoosedDriving")
}
}
BTC.ClearPossbileSpeechIntents()
}
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.SpeechOptions")
BTC.Set("TextMeshPro.GO.Option1Button", "text", "A piedi")
BTC.Show("GO.GO.Option1Button")
BTC.Set("TextMeshPro.GO.Option2Button", "text", "Monopattino")
BTC.Show("GO.GO.Option2Button")
}
Composite(Race) {
Composite(Sequence) {
// Zu Fuss
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.Hide("GO.GO.SpeechOptions")
BTC.SetBool("ChoosedWalking")
}
Composite(Sequence) {
// Scooter
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.Hide("GO.GO.SpeechOptions")
BTC.SetBool("ChoosedDriving")
}
}
} }
} }
} }
@ -669,134 +761,77 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
BTC.AbortSpeechEventListener() BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition() BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents() BTC.ClearPossbileSpeechIntents()
Composite(Marathon) {
BTC.Show("GO.GO.SpeechButton")
BTC.Set("TextMeshPro.GO.Option1Button", "text", "A piedi")
BTC.Show("GO.GO.Option1Button")
BTC.Set("TextMeshPro.GO.Option2Button", "text", "Monopattino")
BTC.Show("GO.GO.Option2Button")
}
Composite(Race) {
Composite(Sequence) {
// Zu Fuss
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.Hide("GO.GO.SpeechOptions")
BTC.SetBool("ChoosedWalking")
}
Composite(Sequence) {
// Scooter
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.Hide("GO.GO.SpeechOptions")
BTC.SetBool("ChoosedDriving")
}
}
} }
} }
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_13") BTC.Show("Depthkit.VIDEOS.27BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE14") BTC.Run("Depthkit.VIDEOS.27BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_15") BTC.Hide("Depthkit.VIDEOS.27BaeckereiOutro")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_09") // TODO: Videos ersetzen
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF16") BTC.SetVoiceName("it-IT-GiuseppeMultilingualNeural")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_17") BTC.SynthesizeText("Hey Francesca, non dimenticare il vostro pranzo!")
BTC.SpeechOutputEnded()
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_15") BTC.Show("Depthkit.VIDEOS.29BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE18") BTC.Run("Depthkit.VIDEOS.29BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_19") BTC.Hide("Depthkit.VIDEOS.29BaeckereiOutro")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_17") BTC.Show("Depthkit.VIDEOS.30BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF20") BTC.Run("Depthkit.VIDEOS.30BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_21") BTC.Hide("Depthkit.VIDEOS.30BaeckereiOutro")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_19") RunTree("22_Geschaeft_Hide")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE22") }
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_23") }
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_21") Tree("22_Geschaeft_Hide") {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF24") Composite(Sequence) {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_25") BTC.SetStoryAVisited()
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) { Composite(Sequence) {
BTC.UserStartedSpeechInput() // Go to scene 2.4 Slideshow
BTC.CompareBool("ChoosedWalking")
Composite(Selector) { BTC.Run("LoadScene.NEXT.26Castello")
// -- 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) { Composite(Sequence) {
BTC.Wait(5) // Go to scene 2.5 Slideshow
BTC.CompareUserSpeechInputStarted(false) BTC.CompareBool("ChoosedDriving")
BTC.AbortSpeechEventListener() BTC.Run("LoadScene.NEXT.26Castello")
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
} }
} }
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_23")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE26")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_25")
Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE27")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF28")
}
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_29")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
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()
}
}
Composite(Marathon) {
Composite(Sequence) {
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_29")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF30")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_31")
}
Composite(Sequence) {
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_01")
BTC.Wait(1)
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroV32")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroVidl_33")
}
}
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_31")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF34")
Composite(Marathon) {
Composite(Sequence) {
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroVidl_33")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroV35")
}
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.26Castello")
} }
} }

View File

@ -1,89 +1,32 @@
Tree("Root") { Tree("Root") {
Composite(Sequence) { Composite(Sequence) {
BTC.InitializeSpeechManager() BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
BTC.SetSpeechRecognitionLanguage("it-IT") BTC.Show("Depthkit.VIDEOS.1StoryBGrotto")
BTC.SetVoiceName("it-IT-IsabellaMultilingualNeural") BTC.Run("Depthkit.VIDEOS.1StoryBGrotto")
Composite(Race) { BTC.Hide("Depthkit.VIDEOS.1StoryBGrotto")
Composite(Sequence) { BTC.Show("Depthkit.VIDEOS.2StoryBGrotto")
// Error in Speech Service: Cancel BTC Trees BTC.Run("Depthkit.VIDEOS.2StoryBGrotto")
BTC.SpeechErrorOccured()
BTC.SetBool("error")
}
RunTree("30_SBB_Story_B_Grotto_Start") BTC.Hide("Depthkit.VIDEOS.2StoryBGrotto")
} BTC.Show("Depthkit.VIDEOS.3StoryBGrotto")
BTC.Run("Depthkit.VIDEOS.3StoryBGrotto")
Composite(Sequence) { BTC.Hide("Depthkit.VIDEOS.3StoryBGrotto")
BTC.CompareBool("error") BTC.Show("Depthkit.VIDEOS.4StoryBGrotto")
// Error Handling BTC.Run("Depthkit.VIDEOS.4StoryBGrotto")
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Show("GO.HANDMENU.SpeechButton") BTC.Hide("Depthkit.VIDEOS.4StoryBGrotto")
BTC.Set("TextMeshPro.HANDMENU.Option1Button", "text", "Restart") BTC.Show("Depthkit.VIDEOS.5StoryBGrotto")
BTC.Show("GO.HANDMENU.Option1Button") BTC.Run("Depthkit.VIDEOS.5StoryBGrotto")
BTC.Run("NamedEventTrigger.HANDMENU.Option1Button")
BTC.Hide("GO.HANDMENU.Option1Button")
BTC.Hide("GO.HANDMENU.SpeechButton")
BTC.Hide("GO.HANDMENU.SpeechOptions")
}
}
}
BTC.Hide("Depthkit.VIDEOS.5StoryBGrotto")
BTC.Show("Depthkit.VIDEOS.6StoryBGrotto")
BTC.Run("Depthkit.VIDEOS.6StoryBGrotto")
Tree("30_SBB_Story_B_Grotto_Start") { BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
Composite(Sequence) {
Composite(Marathon) { // Go to Scene 3.2 Grotto
BTC.Run("MediaPlayer.VIDEOS.StartF1")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("MediaPlayer.VIDEOS.StartFidle2")
BTC.AddPossbileSpeechIntent("Zugabteil-Exposition-U-2") // TODO: Update Intent ID
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.Hide("MediaPlayer.VIDEOS.StartFidle2")
Composite(Marathon) {
Composite(Sequence) {
BTC.Wait(41)
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("MediaPlayer.VIDEOS.StartF3")
}
BTC.Run("LoadScene.NEXT.32Grotto1") BTC.Run("LoadScene.NEXT.32Grotto1")
} }
} }

View File

@ -11,8 +11,11 @@
BTC.SetBool("error") BTC.SetBool("error")
} }
//RunTree("32_Grotto_Story_B_Grotto_Intro") Composite(Sequence) {
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
RunTree("32_Grotto_Story_B_Grotto_Intro")
//RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
}
} }
Composite(Sequence) { Composite(Sequence) {
@ -36,51 +39,32 @@
Tree("32_Grotto_Story_B_Grotto_Intro") { Tree("32_Grotto_Story_B_Grotto_Intro") {
Composite(Sequence) { Composite(Sequence) {
// Initialization // Initialization
BTC.Run("MediaPlayer.VIDEOS.IntroFidle1")
BTC.Run("StudioEventEmitter.STATIC.AmbiGarten") BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1") BTC.Show("Depthkit.VIDEOS.Intro1StoryBGrotto")
BTC.Run("MediaPlayer.VIDEOS.IntroF2") BTC.Run("Depthkit.VIDEOS.Intro1StoryBGrotto")
BTC.Hide("Depthkit.VIDEOS.Intro1StoryBGrotto")
BTC.Run("MediaPlayer.VIDEOS.IntroFidle3") BTC.Show("Depthkit.VIDEOS.Intro2StoryBGrotto")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3") // TODO: Update Speech Intent BTC.Run("Depthkit.VIDEOS.Intro2StoryBGrotto")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4") // TODO: Update Speech Intent BTC.Hide("Depthkit.VIDEOS.Intro2StoryBGrotto")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4")
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
// -- Race 1: User sagt etwas // -- Race 1: User sagt etwas
Composite(Sequence) { Composite(Selector) {
BTC.UserStartedSpeechInput() Composite(Sequence) {
BTC.UserStartedSpeechInput()
Composite(Selector) { BTC.SpeechIntentRecognized()
// -- Selector 1: Intent erkannt BTC.ClearPossbileSpeechIntents()
Composite(Sequence) { }
BTC.SpeechIntentRecognized()
// Intent erkannt // Intent nicht erkannt
Composite(Race) { Composite(Sequence) {
Composite(Sequence) { BTC.ClearPossbileSpeechIntents()
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
BTC.Run("MediaPlayer.VIDEOS.IntroF4")
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
BTC.Run("MediaPlayer.VIDEOS.IntroF6")
}
}
}
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
BTC.Run("MediaPlayer.VIDEOS.IntroF6")
}
} }
} }
@ -88,29 +72,36 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
Composite(Sequence) { Composite(Sequence) {
BTC.Wait(5) BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false) BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition() BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents() BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
BTC.Run("MediaPlayer.VIDEOS.IntroF6")
} }
} }
BTC.Show("Depthkit.VIDEOS.Intro6StoryBGrotto")
BTC.Run("Depthkit.VIDEOS.Intro6StoryBGrotto")
BTC.Hide("Depthkit.VIDEOS.Intro6StoryBGrotto")
// --- Story B Grotto - Telefonat --- // --- Story B Grotto - Telefonat ---
BTC.Run("MediaPlayer.VIDEOS.TelefonatF1") BTC.Show("Depthkit.VIDEOS.Telefonat1StoryBGr")
BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle2") BTC.Run("Depthkit.VIDEOS.Telefonat1StoryBGr")
BTC.Hide("Depthkit.VIDEOS.Telefonat1StoryBGr")
BTC.Run("AudioSource.AUDIO.Telefonat2StoryBGr") BTC.Run("AudioSource.AUDIO.Telefonat2StoryBGr")
BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle2") BTC.Show("Depthkit.VIDEOS.Telefonat3StoryBGr")
BTC.Run("MediaPlayer.VIDEOS.TelefonatF4") BTC.Run("Depthkit.VIDEOS.Telefonat3StoryBGr")
BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle5") BTC.Hide("Depthkit.VIDEOS.Telefonat3StoryBGr")
BTC.Run("AudioSource.AUDIO.Telefonat4StoryBGr") BTC.Run("AudioSource.AUDIO.Telefonat4StoryBGr")
BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle5") BTC.Show("Depthkit.VIDEOS.Telefonat5StoryBGr")
BTC.Run("MediaPlayer.VIDEOS.TelefonatF7") BTC.Run("Depthkit.VIDEOS.Telefonat5StoryBGr")
BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle8") BTC.Hide("Depthkit.VIDEOS.Telefonat5StoryBGr")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Telefonat.6") // TODO: Update Intent ID BTC.Show("Depthkit.VIDEOS.IdleLoopNonnaGrott")
BTC.Run("Depthkit.VIDEOS.IdleLoopNonnaGrott")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Telefonat.6")
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -141,7 +132,7 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.Run("AudioSource.AUDIO.BegruessungohneNam") BTC.Run("AudioSource.AUDIO.BegruessungohneNam")
// --- Story B Grotto - Antwort_Reise --- // --- Story B Grotto - Antwort_Reise ---
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.1") // TODO: Update Intent ID BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.1")
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -170,7 +161,7 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.Run("AudioSource.AUDIO.AntwortReise4Story") BTC.Run("AudioSource.AUDIO.AntwortReise4Story")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.5") // TODO: Update Intent ID BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.5")
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -199,8 +190,8 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.Run("AudioSource.AUDIO.AntwortReise8Story") BTC.Run("AudioSource.AUDIO.AntwortReise8Story")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.9") // TODO: Update Intent ID BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.9")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.11") // TODO: Update Intent ID BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.11")
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -385,14 +376,14 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
} }
// --- Story B Grotto - Outro --- // --- Story B Grotto - Outro ---
BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle8")
BTC.Run("MediaPlayer.VIDEOS.OutroFidle2")
BTC.Run("AudioSource.AUDIO.Outro1StoryBGrotto") BTC.Run("AudioSource.AUDIO.Outro1StoryBGrotto")
BTC.Hide("MediaPlayer.VIDEOS.OutroFidle2") BTC.Hide("Depthkit.VIDEOS.IdleLoopNonnaGrott")
BTC.Run("MediaPlayer.VIDEOS.OutroF3")
BTC.Show("Depthkit.VIDEOS.Outro2StoryBGrotto")
BTC.Run("Depthkit.VIDEOS.Outro2StoryBGrotto")
BTC.Hide("Depthkit.VIDEOS.Outro2StoryBGrotto")
BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle8")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Outro.3") BTC.AddPossbileSpeechIntent("Story_B_Grotto.Outro.3")
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
@ -420,13 +411,7 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
} }
} }
BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle8") BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.OutroF5")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.32Grotto2") // Go to Grotto2 Kueche BTC.Run("LoadScene.NEXT.32Grotto2") // Go to Grotto2 Kueche
} }
} }
@ -494,39 +479,31 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
} }
} }
BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle8") BTC.Hide("Depthkit.VIDEOS.IdleLoopNonnaGrott")
BTC.Run("MediaPlayer.VIDEOS.NachfrageNonnaGrot_F4") //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()
BTC.Run("MediaPlayer.VIDEOS.NachfrageNonnaGrot_Fidle05") // TODO: Option VR Brille Bilder und Buch anschauen fehlt
BTC.Run("AudioSource.AUDIO.AntwortNonnaKueche")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black") BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
// Initialization // Initialization
Composite(Marathon) { Composite(Marathon) {
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -3.573, 0, -12.295) BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -4.648, 0, -12.295)
BTC.SetPosition("GO.HANDMENU", -3.573, 0, -12.295) BTC.SetPosition("GO.HANDMENU", -4.648, 0, -12.295)
BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", 0.0) BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", 0.0)
BTC.RotateToAngle("GO.HANDMENU", 0.0) BTC.RotateToAngle("GO.HANDMENU", 0.0)
BTC.Run("StudioEventEmitter.STATIC.KuechenAmbi") BTC.Run("StudioEventEmitter.STATIC.KuechenAmbi")
BTC.Run("StudioEventEmitter.STATIC.AmbiGarten") BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black") BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
} }
BTC.Wait(5)
BTC.Hide("MediaPlayer.VIDEOS.NachfrageNonnaGrot_Fidle05") BTC.Show("Depthkit.VIDEOS.AntwortNonnaGrotto_10")
BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil1F1") BTC.Run("Depthkit.VIDEOS.AntwortNonnaGrotto_10")
BTC.Hide("Depthkit.VIDEOS.AntwortNonnaGrotto_10")
Composite(Race) { BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.11")
BTC.Wait(30) BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.12")
Composite(Sequence) {
BTC.Run("NamedGrabEvent.INTERACTABLES.VRBrille")
// TODO: Load Minigame
}
}
BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2F2")
BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2Fidle03")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.6") // TODO: Update Intent ID
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -548,23 +525,16 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
Composite(Sequence) { Composite(Sequence) {
BTC.Wait(5) BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false) BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition() BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents() BTC.ClearPossbileSpeechIntents()
} }
} }
BTC.Hide("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2Fidle03") BTC.Show("Depthkit.VIDEOS.AntwortNonnaGrotto_15")
BTC.Run("Depthkit.VIDEOS.AntwortNonnaGrotto_15")
Composite(Marathon) { BTC.Hide("Depthkit.VIDEOS.AntwortNonnaGrotto_15")
BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2F04")
Composite(Sequence) {
BTC.Wait(8)
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
}
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.32Grotto3") // Go to Grotto3 Essen BTC.Run("LoadScene.NEXT.32Grotto3") // Go to Grotto3 Essen
} }
} }

View File

@ -1,193 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: AVProVideo 2
m_Shader: {fileID: 4800000, guid: 0ed1fb9218ad96f49acfdb428d5b5aab, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- ALPHAPACK_TOP_BOTTOM
- APPLY_GAMMA
- MONOSCOPIC
- STEREO_TOP_BOTTOM
m_InvalidKeywords:
- FORCEEYE_NONE
- LAYOUT_NONE
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _AfterTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ChromaTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ChromaTex_R:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _FromTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex_R:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SrcTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- AlphaPack: 1
- ForceEye: 0
- Layout: 0
- Stereo: 1
- _Alpha: 1
- _AlphaClip: 0
- _AlphaToMask: 0
- _ApplyGamma: 1
- _Aspect: 1
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _Brightness: 0.5
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _ColorMask: 15
- _Contrast: 0.5
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EdgeFeather: 0.02
- _EnvironmentReflections: 1
- _Exposure: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _HighQuality: 0
- _Hue: 0
- _InvGamma: 1
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Rotation: 0
- _Saturation: 0.5
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _StereoDebug: 0
- _Surface: 0
- _UseHSBC: 0
- _UseYpCbCr: 0
- _VertScale: 1
- _WorkflowMode: 1
- _ZWrite: 1
- _t: 0.5
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _CustomScale: {r: 0, g: 0, b: 0, a: 0}
- _DrawOffset: {r: 0, g: 0, b: 0, a: 0}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
m_BuildTextureStacks: []
--- !u!114 &6336574236004663190
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 8bd5d6d936d66414f812a6c0eca8f5e1
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -124,14 +124,11 @@ public class NamedAVProMediaPlayer : ComponentHandler
case NodeState.FirstRun: case NodeState.FirstRun:
if (_mediaPlayer != null) if (_mediaPlayer != null)
{ {
if (_mediaPlayer.Control != null) if (_mediaPlayer.Control.IsPlaying())
{ {
if (_mediaPlayer.Control.IsPlaying()) _mediaPlayer.Stop();
{ _mediaPlayer.CloseMedia();
_mediaPlayer.Stop(); _mediaPlayer.ForceDispose();
_mediaPlayer.CloseMedia();
_mediaPlayer.ForceDispose();
}
} }
} }

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