Merge branch 'programming'
This commit is contained in:
commit
958f87624b
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -331,6 +331,7 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
|
|||||||
BTC.Hide("GO.HANDMENU.SpeechOptions")
|
BTC.Hide("GO.HANDMENU.SpeechOptions")
|
||||||
}
|
}
|
||||||
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
||||||
|
BTC.Hide("MediaPlayer.VIDEOS.SzenenwahlFidle4")
|
||||||
BTC.Run("LoadScene.NEXT.40Puschlav")
|
BTC.Run("LoadScene.NEXT.40Puschlav")
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -359,6 +360,7 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
|
|||||||
|
|
||||||
// Load Scene: Story A Picknicken
|
// Load Scene: Story A Picknicken
|
||||||
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
||||||
|
BTC.Hide("MediaPlayer.VIDEOS.SzenenwahlFidle4")
|
||||||
BTC.Run("LoadScene.NEXT.20SBB")
|
BTC.Run("LoadScene.NEXT.20SBB")
|
||||||
}
|
}
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
@ -375,13 +377,11 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
|
|||||||
|
|
||||||
// Load Scene: Story B Grotto
|
// Load Scene: Story B Grotto
|
||||||
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
||||||
|
BTC.Hide("MediaPlayer.VIDEOS.SzenenwahlFidle4")
|
||||||
BTC.Run("LoadScene.NEXT.30SBB")
|
BTC.Run("LoadScene.NEXT.30SBB")
|
||||||
}
|
}
|
||||||
} // Race Buttons
|
} // Race Buttons
|
||||||
} // Handmenu Ende
|
} // Handmenu Ende
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Check if necessary
|
|
||||||
//BTC.Hide("MediaPlayer.VIDEOS.SzenenwahlFidle4")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -620,7 +620,10 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
|
|||||||
|
|
||||||
Composite(Marathon) {
|
Composite(Marathon) {
|
||||||
Composite(Marathon) {
|
Composite(Marathon) {
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE1")
|
Composite(Sequence) {
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE1")
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_07")
|
||||||
|
}
|
||||||
|
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
BTC.Wait(3)
|
BTC.Wait(3)
|
||||||
@ -635,7 +638,9 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BTC.Hide("Animator.AnimatorBaeckereiT")
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_04")
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_04")
|
||||||
|
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_07")
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE5")
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE5")
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE6")
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE6")
|
||||||
|
|
||||||
@ -786,6 +791,12 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
|
|||||||
|
|
||||||
Composite(Marathon) {
|
Composite(Marathon) {
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE27")
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE27")
|
||||||
|
|
||||||
|
Composite(Sequence) {
|
||||||
|
BTC.Wait(1)
|
||||||
|
BTC.Show("Animator.AnimatorBaeckereiT")
|
||||||
|
}
|
||||||
|
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF28")
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF28")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -525,11 +525,11 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
|
|||||||
// -- Race 2: User sagt nichts
|
// -- Race 2: User sagt nichts
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
BTC.Wait(5)
|
BTC.Wait(5)
|
||||||
|
BTC.Hide("GO.HINTS.SpeakHint")
|
||||||
BTC.CompareUserSpeechInputStarted(false)
|
BTC.CompareUserSpeechInputStarted(false)
|
||||||
BTC.AbortSpeechEventListener()
|
BTC.AbortSpeechEventListener()
|
||||||
BTC.StopSpeechIntentRecognition()
|
BTC.StopSpeechIntentRecognition()
|
||||||
BTC.ClearPossbileSpeechIntents()
|
BTC.ClearPossbileSpeechIntents()
|
||||||
BTC.Hide("GO.HINTS.SpeakHint")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -558,11 +558,11 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
|
|||||||
// -- Race 2: User sagt nichts
|
// -- Race 2: User sagt nichts
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
BTC.Wait(5)
|
BTC.Wait(5)
|
||||||
|
BTC.Hide("GO.HINTS.SpeakHint")
|
||||||
BTC.CompareUserSpeechInputStarted(false)
|
BTC.CompareUserSpeechInputStarted(false)
|
||||||
BTC.AbortSpeechEventListener()
|
BTC.AbortSpeechEventListener()
|
||||||
BTC.StopSpeechIntentRecognition()
|
BTC.StopSpeechIntentRecognition()
|
||||||
BTC.ClearPossbileSpeechIntents()
|
BTC.ClearPossbileSpeechIntents()
|
||||||
BTC.Hide("GO.HINTS.SpeakHint")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -639,11 +639,11 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto_Teil2") {
|
|||||||
// -- Race 2: User sagt nichts
|
// -- Race 2: User sagt nichts
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
BTC.Wait(5)
|
BTC.Wait(5)
|
||||||
|
BTC.Hide("GO.HINTS.SpeakHint")
|
||||||
BTC.CompareUserSpeechInputStarted(false)
|
BTC.CompareUserSpeechInputStarted(false)
|
||||||
BTC.AbortSpeechEventListener()
|
BTC.AbortSpeechEventListener()
|
||||||
BTC.StopSpeechIntentRecognition()
|
BTC.StopSpeechIntentRecognition()
|
||||||
BTC.ClearPossbileSpeechIntents()
|
BTC.ClearPossbileSpeechIntents()
|
||||||
BTC.Hide("GO.HINTS.SpeakHint")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -622,7 +622,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
|
|||||||
BTC.Run("MediaPlayer.VIDEOS.OutroG2")
|
BTC.Run("MediaPlayer.VIDEOS.OutroG2")
|
||||||
BTC.Run("MediaPlayer.VIDEOS.OutroGidle3")
|
BTC.Run("MediaPlayer.VIDEOS.OutroGidle3")
|
||||||
|
|
||||||
BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle20")
|
BTC.Hide("MediaPlayer.VIDEOS.OutroFidle1")
|
||||||
BTC.Run("MediaPlayer.VIDEOS.OutroF4")
|
BTC.Run("MediaPlayer.VIDEOS.OutroF4")
|
||||||
BTC.Run("MediaPlayer.VIDEOS.OutroFidle5")
|
BTC.Run("MediaPlayer.VIDEOS.OutroFidle5")
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ Tree("40_Puschlav_Story_C_Puschlav") {
|
|||||||
|
|
||||||
Composite(Marathon) {
|
Composite(Marathon) {
|
||||||
BTC.Hide("GO.STATIC.Background")
|
BTC.Hide("GO.STATIC.Background")
|
||||||
BTC.Hide("GO.UI.ViaggioLogo")
|
BTC.Hide("GO.UI.Canvas")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start Slideshow
|
// Start Slideshow
|
||||||
|
@ -274,6 +274,7 @@ public class NamedAnimator : ComponentHandler {
|
|||||||
if (nodeState == NodeState.FirstRun)
|
if (nodeState == NodeState.FirstRun)
|
||||||
{
|
{
|
||||||
animatorComponent.enabled = false;
|
animatorComponent.enabled = false;
|
||||||
|
animatorComponent.Rebind();
|
||||||
Task.SetSucceeded();
|
Task.SetSucceeded();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -46,6 +46,7 @@ public class NamedStereoscopicSlideshow : ComponentHandler {
|
|||||||
public PhotoTransition photoTransition;
|
public PhotoTransition photoTransition;
|
||||||
float _timeLeft;
|
float _timeLeft;
|
||||||
public float totalTime = 5.0f;
|
public float totalTime = 5.0f;
|
||||||
|
int _indexImgList = 0;
|
||||||
|
|
||||||
public override void Run(NodeState nodeState)
|
public override void Run(NodeState nodeState)
|
||||||
{
|
{
|
||||||
@ -87,16 +88,21 @@ public class NamedStereoscopicSlideshow : ComponentHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void LoadImage(NodeState nodeState, int index)
|
public override void LoadImage(NodeState nodeState, int indexPath)
|
||||||
{
|
{
|
||||||
// LoadImage(0): 1. bild laden im hintergrund
|
|
||||||
// Show: Setup srctxt (1. bild einblenden) + im hintergrund loadImage(1)
|
|
||||||
// (Sprachinput): blendimage(2)
|
|
||||||
if (nodeState == NodeState.FirstRun)
|
if (nodeState == NodeState.FirstRun)
|
||||||
{
|
{
|
||||||
string path = photoTransition.imgPathList[index];
|
string path = photoTransition.imgPathList[indexPath];
|
||||||
|
_indexImgList = photoTransition.GetLengthOfImgList();
|
||||||
StartCoroutine(photoTransition.ImageLoader(path));
|
StartCoroutine(photoTransition.ImageLoader(path));
|
||||||
Task.SetSucceeded();
|
}
|
||||||
|
if (nodeState == NodeState.Running)
|
||||||
|
{
|
||||||
|
Texture2D tex = photoTransition.GetTextureOfImgList(_indexImgList);
|
||||||
|
if (tex != null)
|
||||||
|
{
|
||||||
|
Task.SetSucceeded();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -714,7 +714,7 @@ MonoBehaviour:
|
|||||||
LiveUpdatePort: 9264
|
LiveUpdatePort: 9264
|
||||||
EnableMemoryTracking: 0
|
EnableMemoryTracking: 0
|
||||||
AndroidUseOBB: 0
|
AndroidUseOBB: 0
|
||||||
AndroidPatchBuild: 1
|
AndroidPatchBuild: 0
|
||||||
MeterChannelOrdering: 0
|
MeterChannelOrdering: 0
|
||||||
StopEventsOutsideMaxDistance: 0
|
StopEventsOutsideMaxDistance: 0
|
||||||
BoltUnitOptionsBuildPending: 0
|
BoltUnitOptionsBuildPending: 0
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -113,6 +113,20 @@ public class PhotoTransition : MonoBehaviour
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int GetLengthOfImgList()
|
||||||
|
{
|
||||||
|
return _imgList.Count;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Texture2D GetTextureOfImgList(int index)
|
||||||
|
{
|
||||||
|
if (_imgList.Count > index)
|
||||||
|
{
|
||||||
|
return _imgList[index];
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
private void OnDestroy()
|
private void OnDestroy()
|
||||||
{
|
{
|
||||||
Reset();
|
Reset();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user