Compare commits

..

9 Commits

14 changed files with 751616 additions and 433529 deletions

View File

@ -280,7 +280,37 @@ AnimationClip:
m_RotationOrder: 4
path: schiebetuere/tuere.002
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_SampleRate: 60
m_WrapMode: 0
@ -316,13 +346,22 @@ AnimationClip:
isPPtrCurve: 0
isIntCurve: 0
isSerializeReferenceCurve: 0
- serializedVersion: 2
path: 2001486926
attribute: 2086281974
script: {fileID: 0}
typeID: 1
customType: 0
isPPtrCurve: 0
isIntCurve: 0
isSerializeReferenceCurve: 0
pptrCurveMapping: []
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 4.883333
m_StopTime: 4.9
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
@ -932,6 +971,36 @@ AnimationClip:
classID: 4
script: {fileID: 0}
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:
- serializedVersion: 2
curve:

View File

@ -14,6 +14,8 @@
Composite(Sequence) {
RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro")
//RunTree("22_Geschaeft_Story_A_Picknicken_Mitnehmen")
//RunTree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf")
//RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro")
}
}
@ -474,12 +476,11 @@ Tree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf") {
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle10")
}
// --- old
BTC.Show("Depthkit.VIDEOS.DankEinkauf1StoryA")
BTC.Run("Depthkit.VIDEOS.DankEinkauf1StoryA")
BTC.Hide("Depthkit.VIDEOS.DankEinkauf1StoryA")
BTC.Run("MediaPlayer.VIDEOS.NachfrageBezahlung_FIdle01")
BTC.Run("MediaPlayer.VIDEOS.DankEinkaufV2")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Dank_Einkauf.2")
BTC.Run("MediaPlayer.VIDEOS.DankEinkaufVidle3")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.StartSpeechIntentRecognition()
Composite(Race) {
@ -512,41 +513,45 @@ Tree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf") {
}
// --- Story A Picknicken - Bestellung Begleiter ---
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_01")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_01")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_01")
BTC.Hide("MediaPlayer.VIDEOS.DankEinkaufVidle3")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_02")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_02")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_02")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle1")
BTC.Hide("MediaPlayer.VIDEOS.NachfrageBezahlung_FIdle01")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_F2")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_03")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_03")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_03")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_FIdle3")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle1")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_V4")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_04")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_04")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_04")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle5")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_FIdle3")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_F6")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_05")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_05")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_05")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_FIdle7")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle5")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_V8")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_06")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_06")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_06")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle9")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_FIdle7")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_F10")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_08")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_08")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_08")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_FIdle11")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle9")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_V12")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_09")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_09")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_09")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle13")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_FIdle11")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_10")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_10")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_10")
Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.NachfrageBezahlung_F6") // Ersatz F14
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")
RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro")
@ -558,44 +563,49 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
Composite(Sequence) {
Composite(Marathon) {
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.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
BTC.Show("Depthkit.VIDEOS.0BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_01")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_03")
BTC.Show("Animator.AnimatorBaeckereiT")
Composite(Marathon) {
BTC.Run("Depthkit.VIDEOS.0BaeckereiOutro")
Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE1")
Composite(Sequence) {
BTC.Wait(3)
BTC.Show("Animator.AnimatorBaeckereiT")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_03")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF4")
}
}
BTC.Hide("Depthkit.VIDEOS.0BaeckereiOutro")
BTC.Show("Depthkit.VIDEOS.1BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.1BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.1BaeckereiOutro")
Composite(Sequence) {
BTC.Wait(1)
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
}
}
BTC.Show("Depthkit.VIDEOS.2BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.2BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.2BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_04")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE5")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE6")
BTC.Show("Depthkit.VIDEOS.3BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.3BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.3BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_07")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_04")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF8")
BTC.Show("Depthkit.VIDEOS.4BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.4BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.4BaeckereiOutro")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_09")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_07")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE10")
BTC.Show("Depthkit.VIDEOS.5BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.5BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.5BaeckereiOutro")
BTC.AddPossbileSpeechIntent("Baeckerei_Outro.6")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_11")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.StartSpeechIntentRecognition()
Composite(Race) {
@ -627,35 +637,10 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
}
}
BTC.Show("Depthkit.VIDEOS.9BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.9BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.9BaeckereiOutro")
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.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_11")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE12")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_13")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.StartSpeechIntentRecognition()
Composite(Race) {
@ -667,90 +652,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
// -- Selector 1: Intent erkannt
Composite(Sequence) {
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()
}
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
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")
}
}
}
}
}
@ -761,77 +669,134 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
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")
}
}
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_13")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE14")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_15")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_09")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF16")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_17")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_15")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE18")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_19")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_17")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF20")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_21")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_19")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE22")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_23")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_21")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF24")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_25")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
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")
}
BTC.UserStartedSpeechInput()
Composite(Selector) {
// -- Selector 1: Intent erkannt
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.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
BTC.Show("Depthkit.VIDEOS.27BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.27BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.27BaeckereiOutro")
// TODO: Videos ersetzen
BTC.SetVoiceName("it-IT-GiuseppeMultilingualNeural")
BTC.SynthesizeText("Hey Francesca, non dimenticare il vostro pranzo!")
BTC.SpeechOutputEnded()
BTC.Show("Depthkit.VIDEOS.29BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.29BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.29BaeckereiOutro")
BTC.Show("Depthkit.VIDEOS.30BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.30BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.30BaeckereiOutro")
RunTree("22_Geschaeft_Hide")
}
}
Tree("22_Geschaeft_Hide") {
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
BTC.SetStoryAVisited()
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.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")
}
Composite(Race) {
Composite(Sequence) {
// Go to scene 2.4 Slideshow
BTC.CompareBool("ChoosedWalking")
BTC.Run("LoadScene.NEXT.26Castello")
}
Composite(Sequence) {
// Go to scene 2.5 Slideshow
BTC.CompareBool("ChoosedDriving")
BTC.Run("LoadScene.NEXT.26Castello")
}
}
}
}

View File

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

View File

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

View File

@ -0,0 +1,193 @@
%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

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

View File

@ -123,6 +123,8 @@ public class NamedAVProMediaPlayer : ComponentHandler
{
case NodeState.FirstRun:
if (_mediaPlayer != null)
{
if (_mediaPlayer.Control != null)
{
if (_mediaPlayer.Control.IsPlaying())
{
@ -131,6 +133,7 @@ public class NamedAVProMediaPlayer : ComponentHandler
_mediaPlayer.ForceDispose();
}
}
}
Task.SetSucceeded();
break;

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