Update Next buttons

programming
Nadine Ganz 2025-01-27 16:13:40 +01:00
parent be178e4478
commit 51b58383f5
7 changed files with 164 additions and 356418 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2018,6 +2018,10 @@ PrefabInstance:
propertyPath: OnPress.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_StringArgument
value: 3.1-Slideshow
objectReference: {fileID: 0}
- target: {fileID: 2969953363054433920, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: OnPressA.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_StringArgument
value: 3.1-Slideshow
objectReference: {fileID: 0}
- target: {fileID: 5404007062645980004, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: m_Name
value: NextButton
@ -2118,7 +2122,7 @@ MonoBehaviour:
overrideLogStringDisplay: 0
overrideDebugInternalActive: 0
overrideDebugChangesActive: 0
instanceID: 564970
instanceID: 774318
__behaviourTreeGenerator: {fileID: 0}
taskScripts:
- {fileID: 4900000, guid: bfe72e0c00eb4483c8a777b05838f70e, type: 3}

View File

@ -256,7 +256,7 @@ MonoBehaviour:
overrideLogStringDisplay: 0
overrideDebugInternalActive: 0
overrideDebugChangesActive: 0
instanceID: 1149802
instanceID: 774494
__behaviourTreeGenerator: {fileID: 0}
taskScripts:
- {fileID: 4900000, guid: 67c050e206560441da28186e3649d684, type: 3}
@ -275,6 +275,72 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1026341449
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 1723884225}
m_Modifications:
- target: {fileID: 2932410639188632877, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: m_LocalPosition.x
value: 5.286777
objectReference: {fileID: 0}
- target: {fileID: 2932410639188632877, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: m_LocalPosition.y
value: 0.5468484
objectReference: {fileID: 0}
- target: {fileID: 2932410639188632877, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: m_LocalPosition.z
value: 4.4258184
objectReference: {fileID: 0}
- target: {fileID: 2932410639188632877, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2932410639188632877, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2932410639188632877, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2932410639188632877, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2932410639188632877, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2932410639188632877, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2932410639188632877, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2969953363054433920, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: OnPressA.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_StringArgument
value: 3.2-Grotto
objectReference: {fileID: 0}
- target: {fileID: 5404007062645980004, guid: af9043897c84648c183060ba5d1b108f, type: 3}
propertyPath: m_Name
value: NextButton
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: af9043897c84648c183060ba5d1b108f, type: 3}
--- !u!4 &1026341450 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2932410639188632877, guid: af9043897c84648c183060ba5d1b108f, type: 3}
m_PrefabInstance: {fileID: 1026341449}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1685913687
PrefabInstance:
m_ObjectHideFlags: 0
@ -452,115 +518,9 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 363901151}
- {fileID: 2932410640364922651}
- {fileID: 1026341450}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2072566746453767095
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5404007063814404434}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8a02dc30496e7423a8975149cb40fdbe, type: 3}
m_Name:
m_EditorClassIdentifier:
loadSceneMode: 0
--- !u!4 &2932410640364922651
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5404007063814404434}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1723884225}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2969953364235441334
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5404007063814404434}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f3657284cbc344c10b72aff76116332b, type: 3}
m_Name:
m_EditorClassIdentifier:
actionA:
m_Name: Action A
m_Type: 0
m_ExpectedControlType:
m_Id: 97ac9c74-d763-4c10-a2ee-065ad9a12aa2
m_Processors:
m_Interactions:
m_SingletonActionBindings: []
m_Flags: 0
OnPressA:
m_PersistentCalls:
m_Calls: []
actionB:
m_Name: Action B
m_Type: 0
m_ExpectedControlType:
m_Id: 29240d0a-766a-4a4d-9775-4175c8bad21b
m_Processors:
m_Interactions:
m_SingletonActionBindings: []
m_Flags: 0
OnPressB:
m_PersistentCalls:
m_Calls: []
actionX:
m_Name: Action X
m_Type: 0
m_ExpectedControlType:
m_Id: e0da2165-ab37-4dac-be68-a390cc3ba7b6
m_Processors:
m_Interactions:
m_SingletonActionBindings: []
m_Flags: 0
OnPressX:
m_PersistentCalls:
m_Calls: []
actionY:
m_Name: Action Y
m_Type: 0
m_ExpectedControlType:
m_Id: bffea9c9-9d0c-4efa-a8f9-5a1a7643f498
m_Processors:
m_Interactions:
m_SingletonActionBindings: []
m_Flags: 0
OnPressY:
m_PersistentCalls:
m_Calls: []
--- !u!1 &5404007063814404434
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2932410640364922651}
- component: {fileID: 2969953364235441334}
- component: {fileID: 2072566746453767095}
m_Layer: 0
m_Name: NextButton
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0

View File

@ -12191,6 +12191,14 @@ PrefabInstance:
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195088450314375929, guid: c49ceeff408a54a4dbde71675195362c, type: 3}
propertyPath: m_LocalPosition.z
value: -16.48
objectReference: {fileID: 0}
- target: {fileID: 4195088450314375929, guid: c49ceeff408a54a4dbde71675195362c, type: 3}
propertyPath: m_AnchoredPosition.x
value: -4.22
objectReference: {fileID: 0}
- target: {fileID: 4782007183598464097, guid: c49ceeff408a54a4dbde71675195362c, type: 3}
propertyPath: m_Name
value: LoadAllScenesUI
@ -143217,7 +143225,7 @@ MonoBehaviour:
overrideLogStringDisplay: 0
overrideDebugInternalActive: 0
overrideDebugChangesActive: 0
instanceID: 353324
instanceID: 781826
__behaviourTreeGenerator: {fileID: 0}
taskScripts:
- {fileID: 4900000, guid: 7100bc138828c402baf6fdd9c426735b, type: 3}
@ -144193,7 +144201,6 @@ Transform:
m_Children:
- {fileID: 1512247677}
- {fileID: 888777877}
- {fileID: 2367736338278134487}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &16694666985410051
@ -152169,84 +152176,6 @@ Transform:
m_Children: []
m_Father: {fileID: 543450651810619716}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &2367736338278134486
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 2138406002}
m_Modifications:
- target: {fileID: 1222158309809647475, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: OnPressA.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 0}
- target: {fileID: 1222158309809647475, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: OnPressB.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 0}
- target: {fileID: 1222158309809647475, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: OnPressX.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 0}
- target: {fileID: 1222158309809647475, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: OnPressY.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 0}
- target: {fileID: 5021853568501081044, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: m_LocalPosition.x
value: 7.040417
objectReference: {fileID: 0}
- target: {fileID: 5021853568501081044, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: m_LocalPosition.y
value: -1.2400196
objectReference: {fileID: 0}
- target: {fileID: 5021853568501081044, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: m_LocalPosition.z
value: 17.682869
objectReference: {fileID: 0}
- target: {fileID: 5021853568501081044, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5021853568501081044, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5021853568501081044, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5021853568501081044, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5021853568501081044, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5021853568501081044, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5021853568501081044, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5714472087302188827, guid: 33faae782c834443b9773435cb632e69, type: 3}
propertyPath: m_Name
value: SpeechControllerInputHandler
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 33faae782c834443b9773435cb632e69, type: 3}
--- !u!4 &2367736338278134487 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5021853568501081044, guid: 33faae782c834443b9773435cb632e69, type: 3}
m_PrefabInstance: {fileID: 2367736338278134486}
m_PrefabAsset: {fileID: 0}
--- !u!33 &2370532767557239280
MeshFilter:
m_ObjectHideFlags: 0

File diff suppressed because it is too large Load Diff

View File

@ -12,6 +12,12 @@ public class LoadSpeechData : MonoBehaviour
// Start is called before the first frame update
void Start()
{
if (SpeechData.intents.Count > 0)
{
Debug.Log("SpeechData Intents are already set.");
return;
}
IntentList _intentList = JsonUtility.FromJson<IntentList>(intentJson.text);
foreach (IntentData _obj in _intentList.intents)

View File

@ -4,8 +4,8 @@ using UnityEngine;
public static class SpeechData
{
public static string languageCode = "de-DE";
public static string voiceName = "de-DE-KatjaNeural";
public static string languageCode = "it-IT";
public static string voiceName = "it-IT-FabiolaNeural";
public static Dictionary<string, string> intents = new Dictionary<string, string>();
}