created audio manager and Sound class

This commit is contained in:
DerTyp187
2022-01-02 14:01:18 +01:00
parent 8c6d063e53
commit be50ec5eed
10 changed files with 189 additions and 6 deletions

View File

@@ -1189,6 +1189,56 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 609661063}
m_CullTransparentMesh: 1
--- !u!1 &650918549
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 650918551}
- component: {fileID: 650918550}
m_Layer: 0
m_Name: AudioManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &650918550
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 650918549}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0018a9494d9c3f5439fea5ecf8a53a26, type: 3}
m_Name:
m_EditorClassIdentifier:
sounds:
- name: test
clip: {fileID: 8300000, guid: c1a5d2c14eea7144d888cf025464b077, type: 3}
volume: 1
pitch: 1
source: {fileID: 0}
--- !u!4 &650918551
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 650918549}
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: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &686586640
GameObject:
m_ObjectHideFlags: 0
@@ -1282,7 +1332,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!114 &686586643
MonoBehaviour:
@@ -1687,7 +1737,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &958699931
MonoBehaviour:
@@ -2060,7 +2110,7 @@ RectTransform:
m_Children:
- {fileID: 1535827566}
m_Father: {fileID: 0}
m_RootOrder: 4
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -2132,7 +2182,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 5
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!224 &1128837698 stripped
RectTransform:
@@ -5056,7 +5106,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7086846156459211593, guid: 0f6d9d1e97686d34d9872b5028512de5, type: 3}
propertyPath: m_RootOrder
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7086846156459211593, guid: 0f6d9d1e97686d34d9872b5028512de5, type: 3}
propertyPath: m_LocalPosition.x
@@ -5117,7 +5167,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7631475222009660906, guid: 05731c1ab7f50df438d8ad4231f0e4e5, type: 3}
propertyPath: m_RootOrder
value: 1
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7631475222009660906, guid: 05731c1ab7f50df438d8ad4231f0e4e5, type: 3}
propertyPath: m_LocalPosition.x