Skip to content
Snippets Groups Projects
Commit 05a13c21 authored by mhby1g21's avatar mhby1g21
Browse files

quick comment to remove error for steam audio export (TODO add dynamic)

parent 753b7e86
No related branches found
No related tags found
1 merge request!18v2.3 working build room but very buggy and incomplete
......@@ -2507,8 +2507,7 @@ MonoBehaviour:
- name: speakers
inputValidator: {fileID: 8551979803024852529}
buildButton: {fileID: 1673999060}
audioSourcePrefab: {fileID: 0}
panelToDisable: {fileID: 1572829306}
audioSourcePrefab: {fileID: 1342686809196105485, guid: e8704b2cb89ef5f4c900ad41600ea441, type: 3}
--- !u!1 &615529042
GameObject:
m_ObjectHideFlags: 0
......@@ -2760,6 +2759,37 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 641548137}
m_CullTransparentMesh: 1
--- !u!1 &664455804
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 664455805}
m_Layer: 0
m_Name: RoomWrapperGenerator
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &664455805
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 664455804}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.6986194, y: 0.8400787, z: 0.01000799}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!224 &815677738 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 7759001298716345201, guid: 2c2e4829725baed4f81fa638908f2e91, type: 3}
......@@ -5742,11 +5772,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d6236b7d0d19f8d49880cd417b94612a, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1572829306 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 6608204077774181811, guid: 9a92d51909392834aa8dc2db232d87b8, type: 3}
m_PrefabInstance: {fileID: 1225901047}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1573797103
GameObject:
m_ObjectHideFlags: 0
......@@ -8760,3 +8785,4 @@ SceneRoots:
- {fileID: 1225901047}
- {fileID: 1600246035}
- {fileID: 592246262}
- {fileID: 664455805}
......@@ -70,6 +70,17 @@ public class AssignMaterials : MonoBehaviour
public void ExportSteamScene()
{
// if in play mode, do not export scene
if (Application.isPlaying)
{
// todo: figure out how to export dynamic objects
// add dynamic object component
//this.gameObject.AddComponent<SteamAudioDynamicObject>();
// assign steamAudiodynamicobject
//SteamAudioDynamicObject dynamicObject = this.gameObject.GetComponent<SteamAudioDynamicObject>();
// export dynamic object asset
return;
}
// find steam audio manager
// export scene
SteamAudioManager.ExportScene(gameObject.scene, false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment