Skip to content

Commit

Permalink
Sounds Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos2380 committed Sep 4, 2018
1 parent 2749a33 commit ef8a82c
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 47 deletions.
92 changes: 46 additions & 46 deletions ShowPT/Assets/Scenes/Game.unity
Original file line number Diff line number Diff line change
Expand Up @@ -3951,7 +3951,7 @@ Prefab:
- target: {fileID: 224518933033658160, guid: 13999a6b2bbed614eb7eed987d5f40ef,
type: 2}
propertyPath: m_RootOrder
value: 20
value: 19
objectReference: {fileID: 0}
- target: {fileID: 224518933033658160, guid: 13999a6b2bbed614eb7eed987d5f40ef,
type: 2}
Expand Down Expand Up @@ -5382,7 +5382,7 @@ Transform:
- {fileID: 1656855913}
- {fileID: 89874970}
m_Father: {fileID: 0}
m_RootOrder: 19
m_RootOrder: 18
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &106158044
GameObject:
Expand Down Expand Up @@ -10755,7 +10755,7 @@ Transform:
- {fileID: 1718375450}
- {fileID: 1265515622}
m_Father: {fileID: 0}
m_RootOrder: 18
m_RootOrder: 17
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &168314838
Prefab:
Expand Down Expand Up @@ -19879,48 +19879,6 @@ MeshRenderer:
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!1001 &284719806
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalPosition.x
value: -11.034362
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalPosition.y
value: 3.3548477
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalPosition.z
value: -12.43
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_RootOrder
value: 17
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
m_IsPrefabParent: 0
--- !u!1 &287066000
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -87523,7 +87481,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 21
m_RootOrder: 20
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1167477688
Prefab:
Expand Down Expand Up @@ -140740,6 +140698,48 @@ Prefab:
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: cb76ff9d7d32a4c4ca04a1187306b0a0, type: 3}
m_IsPrefabParent: 0
--- !u!1001 &1958630822
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalPosition.x
value: -11.034362
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalPosition.y
value: 3.3548477
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalPosition.z
value: -12.43
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4689495464855942, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
propertyPath: m_RootOrder
value: 21
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 1fd85f70a87b0df4cb92cba6e98e0dc0, type: 2}
m_IsPrefabParent: 0
--- !u!1 &1960071867
GameObject:
m_ObjectHideFlags: 0
Expand Down
2 changes: 1 addition & 1 deletion ShowPT/Assets/Scripts/BGM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void playMeSomething(int musicId)
{
stopTheMusic ();
ctrlAudio.setTrackVolume ("Music", trackVolume);
ctrlAudio.playOneSound("Music", musicList[musicId], Vector3.zero, 0.6f, 0f, 1, true);
idbackgroundMusic = ctrlAudio.playOneSound("Music", musicList[musicId], Vector3.zero, 0.6f, 0f, 1, true);
}

public void stopTheMusic()
Expand Down
1 change: 1 addition & 0 deletions ShowPT/Assets/Scripts/IntroCinematicController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ private void Start()

private void playGame(VideoPlayer vp)
{
GameObject.FindGameObjectWithTag("CtrlAudio").GetComponent<BGM>().stopTheMusic();
ctrlMain.activateSceneGame();
}
}

0 comments on commit ef8a82c

Please sign in to comment.