net.dreditor.audio 0.0.0-stage → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.attestation.p7m +0 -0
- package/ClearAudioSourceOnTitleScreen.cs +51 -0
- package/ClearAudioSourceOnTitleScreen.cs.meta +11 -0
- package/CreditsMusic.cs +64 -0
- package/CreditsMusic.cs.meta +11 -0
- package/CreditsMusicUnity.cs +22 -0
- package/CreditsMusicUnity.cs.meta +11 -0
- package/DREditor.Audio.asmdef +19 -0
- package/DREditor.Audio.asmdef.meta +7 -0
- package/EnvironmentSFXMananger.cs +160 -0
- package/EnvironmentSFXMananger.cs.meta +11 -0
- package/EnvironmentSFXManangerBase.cs +24 -0
- package/EnvironmentSFXManangerBase.cs.meta +11 -0
- package/Music.cs +27 -0
- package/Music.cs.meta +11 -0
- package/MusicFMOD.cs +32 -0
- package/MusicFMOD.cs.meta +11 -0
- package/MusicManager.cs +436 -0
- package/MusicManager.cs.meta +11 -0
- package/MusicManagerBase.cs +115 -0
- package/MusicManagerBase.cs.meta +11 -0
- package/MusicSaver.cs +127 -0
- package/MusicSaver.cs.meta +11 -0
- package/MusicTextHandler.cs +119 -0
- package/MusicTextHandler.cs.meta +11 -0
- package/OnVoiceLineSettingChanged.cs +69 -0
- package/OnVoiceLineSettingChanged.cs.meta +11 -0
- package/OptionVolume.cs +76 -0
- package/OptionVolume.cs.meta +11 -0
- package/PlaySelectAudioOnUIChange.cs +42 -0
- package/PlaySelectAudioOnUIChange.cs.meta +11 -0
- package/PlaySubmitSFXOnClick.cs +23 -0
- package/PlaySubmitSFXOnClick.cs.meta +11 -0
- package/Playlist.cs +81 -0
- package/Playlist.cs.meta +11 -0
- package/PlaylistEditor.cs +358 -0
- package/PlaylistEditor.cs.meta +11 -0
- package/PlaylistFMOD.cs +39 -0
- package/PlaylistFMOD.cs.meta +11 -0
- package/SFXManager.cs +348 -0
- package/SFXManager.cs.meta +11 -0
- package/SFXManagerBase.cs +38 -0
- package/SFXManagerBase.cs.meta +11 -0
- package/Samples~/Audio_Event_Save_Handler.prefab +57 -0
- package/Samples~/Audio_Event_Save_Handler.prefab.meta +7 -0
- package/Samples~/Credits_Music_Unity.prefab +66 -0
- package/Samples~/Credits_Music_Unity.prefab.meta +7 -0
- package/Samples~/Dialogue_Click_Sound_Player_DRE.prefab +76 -0
- package/Samples~/Dialogue_Click_Sound_Player_DRE.prefab.meta +7 -0
- package/Samples~/Environment_SFX_Manager.prefab +146 -0
- package/Samples~/Environment_SFX_Manager.prefab.meta +7 -0
- package/Samples~/Environment_SFX_Manager_Shell.prefab +96 -0
- package/Samples~/Environment_SFX_Manager_Shell.prefab.meta +7 -0
- package/Samples~/Environment_Source.prefab +130 -0
- package/Samples~/Environment_Source.prefab.meta +7 -0
- package/Samples~/Music_Manager.prefab +146 -0
- package/Samples~/Music_Manager.prefab.meta +7 -0
- package/Samples~/Music_Manager_Shell.prefab +75 -0
- package/Samples~/Music_Manager_Shell.prefab.meta +7 -0
- package/Samples~/Music_Source.prefab +144 -0
- package/Samples~/Music_Source.prefab.meta +7 -0
- package/Samples~/On_Voice_Line_Setting_Changed.prefab +53 -0
- package/Samples~/On_Voice_Line_Setting_Changed.prefab.meta +7 -0
- package/Samples~/Play_Select_Audio_On_UI_Change.prefab +46 -0
- package/Samples~/Play_Select_Audio_On_UI_Change.prefab.meta +7 -0
- package/Samples~/SFX_Manager.prefab +397 -0
- package/Samples~/SFX_Manager.prefab.meta +7 -0
- package/Samples~/SFX_Manager_Shell.prefab +53 -0
- package/Samples~/SFX_Manager_Shell.prefab.meta +7 -0
- package/Samples~/SFX_Source.prefab +130 -0
- package/Samples~/SFX_Source.prefab.meta +7 -0
- package/Samples~/Select_SFX_On_Setting_Changed.prefab +51 -0
- package/Samples~/Select_SFX_On_Setting_Changed.prefab.meta +7 -0
- package/Samples~/Sound_Manager.prefab +473 -0
- package/Samples~/Sound_Manager.prefab.meta +7 -0
- package/Samples~/Sound_Manager_Events.prefab +261 -0
- package/Samples~/Sound_Manager_Events.prefab.meta +7 -0
- package/Samples~/Sound_Manager_Shell.prefab +370 -0
- package/Samples~/Sound_Manager_Shell.prefab.meta +7 -0
- package/Samples~/Sound_Player_DRE.prefab +47 -0
- package/Samples~/Sound_Player_DRE.prefab.meta +7 -0
- package/Samples~/StopAllAudio.asset +14 -0
- package/Samples~/StopAllAudio.asset.meta +8 -0
- package/Samples~/UI_Cancel_Source.prefab +130 -0
- package/Samples~/UI_Cancel_Source.prefab.meta +7 -0
- package/Samples~/UI_Select_Source.prefab +130 -0
- package/Samples~/UI_Select_Source.prefab.meta +7 -0
- package/Samples~/UI_Submit_Source.prefab +130 -0
- package/Samples~/UI_Submit_Source.prefab.meta +7 -0
- package/Samples~/Voice_SFX_Manager.prefab +146 -0
- package/Samples~/Voice_SFX_Manager.prefab.meta +7 -0
- package/Samples~/Voice_SFX_Manager_Shell.prefab +49 -0
- package/Samples~/Voice_SFX_Manager_Shell.prefab.meta +7 -0
- package/Samples~/Voice_Source.prefab +130 -0
- package/Samples~/Voice_Source.prefab.meta +7 -0
- package/SelectSFXOnSceneEvent.cs +22 -0
- package/SelectSFXOnSceneEvent.cs.meta +11 -0
- package/SoundManager.cs +191 -0
- package/SoundManager.cs.meta +11 -0
- package/SoundManagerBase.cs +73 -0
- package/SoundManagerBase.cs.meta +11 -0
- package/SoundPlayerDRE.cs +27 -0
- package/SoundPlayerDRE.cs.meta +11 -0
- package/SoundPlayerDREUnity.cs +29 -0
- package/SoundPlayerDREUnity.cs.meta +11 -0
- package/SoundService.cs +11 -0
- package/SoundService.cs.meta +11 -0
- package/StopEnvAudioToTitle.cs +17 -0
- package/StopEnvAudioToTitle.cs.meta +11 -0
- package/VOManagerBase.cs +29 -0
- package/VOManagerBase.cs.meta +11 -0
- package/VoiceSFXManager.cs +105 -0
- package/VoiceSFXManager.cs.meta +11 -0
- package/package.json +39 -4
- package/package.json.meta +7 -0
- package/README.md +0 -3
package/SFXManager.cs
ADDED
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
using System;
|
|
3
|
+
using System.Collections;
|
|
4
|
+
using System.Collections.Generic;
|
|
5
|
+
using System.Linq;
|
|
6
|
+
using UnityEngine;
|
|
7
|
+
using UnityEngine.Serialization;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
#if FMOD_UNITY
|
|
11
|
+
using FMODUnity;
|
|
12
|
+
#endif
|
|
13
|
+
|
|
14
|
+
namespace DREditor.Audio
|
|
15
|
+
{
|
|
16
|
+
/// <summary>
|
|
17
|
+
///
|
|
18
|
+
/// </summary>
|
|
19
|
+
public class SFXManager : SFXManagerBase
|
|
20
|
+
{
|
|
21
|
+
/// <summary>
|
|
22
|
+
///
|
|
23
|
+
/// </summary>
|
|
24
|
+
[Header("")]
|
|
25
|
+
[Divider]
|
|
26
|
+
[Tooltip("")]
|
|
27
|
+
[SerializeField] bool debugLogs = false;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
[Header("")]
|
|
31
|
+
[Divider]
|
|
32
|
+
#if FMOD_UNITY
|
|
33
|
+
/// <summary>
|
|
34
|
+
///
|
|
35
|
+
/// </summary>
|
|
36
|
+
[Tooltip("")]
|
|
37
|
+
[SerializeField] protected StudioEventEmitter sfxSource = null;
|
|
38
|
+
#else
|
|
39
|
+
/// <summary>
|
|
40
|
+
///
|
|
41
|
+
/// </summary>
|
|
42
|
+
[Tooltip("")]
|
|
43
|
+
[SerializeField] protected AudioSource sfxSource = null;
|
|
44
|
+
#endif
|
|
45
|
+
|
|
46
|
+
#if FMOD_UNITY
|
|
47
|
+
/// <summary>
|
|
48
|
+
///
|
|
49
|
+
/// </summary>
|
|
50
|
+
[Header("")]
|
|
51
|
+
[Divider]
|
|
52
|
+
[FormerlySerializedAs("SubmitSource")]
|
|
53
|
+
[Tooltip("")]
|
|
54
|
+
[SerializeField] protected StudioEventEmitter submitSource = null;
|
|
55
|
+
|
|
56
|
+
/// <summary>
|
|
57
|
+
///
|
|
58
|
+
/// </summary>
|
|
59
|
+
[FormerlySerializedAs("CancelSource")]
|
|
60
|
+
[Tooltip("")]
|
|
61
|
+
[SerializeField] protected StudioEventEmitter cancelSource = null;
|
|
62
|
+
|
|
63
|
+
/// <summary>
|
|
64
|
+
///
|
|
65
|
+
/// </summary>
|
|
66
|
+
[FormerlySerializedAs("SelectSource")]
|
|
67
|
+
[Tooltip("")]
|
|
68
|
+
[SerializeField] protected StudioEventEmitter selectSource = null;
|
|
69
|
+
#else
|
|
70
|
+
/// <summary>
|
|
71
|
+
///
|
|
72
|
+
/// </summary>
|
|
73
|
+
[Header("")]
|
|
74
|
+
[Divider]
|
|
75
|
+
[FormerlySerializedAs("SubmitSource")]
|
|
76
|
+
[Tooltip("")]
|
|
77
|
+
[SerializeField] protected AudioSource submitSource = null;
|
|
78
|
+
|
|
79
|
+
/// <summary>
|
|
80
|
+
///
|
|
81
|
+
/// </summary>
|
|
82
|
+
[FormerlySerializedAs("CancelSource")]
|
|
83
|
+
[Tooltip("")]
|
|
84
|
+
[SerializeField] protected AudioSource cancelSource = null;
|
|
85
|
+
|
|
86
|
+
/// <summary>
|
|
87
|
+
///
|
|
88
|
+
/// </summary>
|
|
89
|
+
[FormerlySerializedAs("SelectSource")]
|
|
90
|
+
[Tooltip("")]
|
|
91
|
+
[SerializeField] protected AudioSource selectSource = null;
|
|
92
|
+
#endif
|
|
93
|
+
|
|
94
|
+
/// <inheritdoc/>
|
|
95
|
+
protected override void InitializeService()
|
|
96
|
+
{
|
|
97
|
+
base.InitializeService();
|
|
98
|
+
#if FMOD_UNITY
|
|
99
|
+
if (sfxSource == null)
|
|
100
|
+
sfxSource = GetComponentInChildren<StudioEventEmitter>();
|
|
101
|
+
#else
|
|
102
|
+
if (sfxSource == null)
|
|
103
|
+
sfxSource = GetComponentInChildren<AudioSource>();
|
|
104
|
+
#endif
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/// <inheritdoc/>
|
|
108
|
+
public override void PlaySubmit() => PlaySource(submitSource);
|
|
109
|
+
|
|
110
|
+
/// <inheritdoc/>
|
|
111
|
+
public override void PlayCancel() => PlaySource(cancelSource);
|
|
112
|
+
|
|
113
|
+
/// <inheritdoc/>
|
|
114
|
+
public override void PlaySelect() => PlaySource(selectSource);
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
/// <inheritdoc/>
|
|
118
|
+
public override void PlaySFX<T>(T name)
|
|
119
|
+
{
|
|
120
|
+
#if FMOD_UNITY
|
|
121
|
+
if (name is string eventName)
|
|
122
|
+
{
|
|
123
|
+
if (eventName == "")
|
|
124
|
+
{
|
|
125
|
+
if (debugLogs)
|
|
126
|
+
UnityEngine.Debug.LogWarning("ALERT: CANCELED SFX: " + eventName);
|
|
127
|
+
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
if (debugLogs)
|
|
132
|
+
UnityEngine.Debug.Log("REPORT: Playing SFX: " + eventName);
|
|
133
|
+
|
|
134
|
+
if (!sfxSource.IsPlaying())
|
|
135
|
+
PlaySource(sfxSource, eventName);
|
|
136
|
+
else
|
|
137
|
+
PlayAdditionalSoundInstance(eventName);
|
|
138
|
+
}
|
|
139
|
+
#else
|
|
140
|
+
if (name is AudioClip eventName)
|
|
141
|
+
{
|
|
142
|
+
if (eventName == null)
|
|
143
|
+
{
|
|
144
|
+
if (debugLogs)
|
|
145
|
+
UnityEngine.Debug.LogWarning("ALERT: CANCELED SFX: " + eventName);
|
|
146
|
+
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
if (debugLogs)
|
|
151
|
+
UnityEngine.Debug.Log("REPORT: Playing SFX: " + eventName);
|
|
152
|
+
|
|
153
|
+
if (!sfxSource.isPlaying)
|
|
154
|
+
PlaySource(sfxSource, eventName);
|
|
155
|
+
else
|
|
156
|
+
PlayAdditionalSoundInstance(eventName);
|
|
157
|
+
}
|
|
158
|
+
#endif
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
#if FMOD_UNITY
|
|
162
|
+
/// <summary>
|
|
163
|
+
///
|
|
164
|
+
/// </summary>
|
|
165
|
+
/// <param name="eventName"></param>
|
|
166
|
+
protected virtual void PlayAdditionalSoundInstance(string eventName)
|
|
167
|
+
{
|
|
168
|
+
var emitter = gameObject.AddComponent<StudioEventEmitter>();
|
|
169
|
+
|
|
170
|
+
emitter.Event = eventName;
|
|
171
|
+
|
|
172
|
+
emitter.TriggerOnce = true;
|
|
173
|
+
|
|
174
|
+
emitter.Play();
|
|
175
|
+
|
|
176
|
+
StartCoroutine(WaitForInstanceSFXToFinish(emitter));
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/// <summary>
|
|
180
|
+
///
|
|
181
|
+
/// </summary>
|
|
182
|
+
/// <param name="emitter"></param>
|
|
183
|
+
/// <returns></returns>
|
|
184
|
+
protected virtual IEnumerator WaitForInstanceSFXToFinish(StudioEventEmitter emitter)
|
|
185
|
+
{
|
|
186
|
+
while (emitter.IsPlaying())
|
|
187
|
+
yield return null;
|
|
188
|
+
|
|
189
|
+
Destroy(emitter);
|
|
190
|
+
|
|
191
|
+
yield break;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/// <inheritdoc/>
|
|
195
|
+
public override void StopSoundFX()
|
|
196
|
+
{
|
|
197
|
+
sfxSource.Stop();
|
|
198
|
+
|
|
199
|
+
StopAllInstanceEmitters();
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/// <summary>
|
|
203
|
+
///
|
|
204
|
+
/// </summary>
|
|
205
|
+
protected virtual void StopAllInstanceEmitters()
|
|
206
|
+
{
|
|
207
|
+
AffectInstanceEmitters((emitter) => emitter.Stop());
|
|
208
|
+
|
|
209
|
+
AffectInstanceEmitters((emitter) => Destroy(emitter));
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/// <summary>
|
|
213
|
+
///
|
|
214
|
+
/// </summary>
|
|
215
|
+
/// <param name="affectEmitter"></param>
|
|
216
|
+
protected virtual void AffectInstanceEmitters(Action<StudioEventEmitter> affectEmitter)
|
|
217
|
+
{
|
|
218
|
+
List<StudioEventEmitter> emitters = GetComponents<StudioEventEmitter>().ToList();
|
|
219
|
+
|
|
220
|
+
if (emitters.Count > 0)
|
|
221
|
+
foreach (StudioEventEmitter emitter in emitters)
|
|
222
|
+
if (emitter != null)
|
|
223
|
+
affectEmitter(emitter);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
/// <summary>
|
|
228
|
+
///
|
|
229
|
+
/// </summary>
|
|
230
|
+
/// <param name="emitter"></param>
|
|
231
|
+
protected virtual void PlaySource(StudioEventEmitter emitter)
|
|
232
|
+
{
|
|
233
|
+
if (!(emitter != null) || emitter.Event == "")
|
|
234
|
+
return;
|
|
235
|
+
|
|
236
|
+
emitter.Play();
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/// <summary>
|
|
240
|
+
///
|
|
241
|
+
/// </summary>
|
|
242
|
+
/// <param name="source"></param>
|
|
243
|
+
/// <param name="eventName"></param>
|
|
244
|
+
protected virtual void PlaySource(StudioEventEmitter source, string eventName)
|
|
245
|
+
{
|
|
246
|
+
if (eventName == "" || source == null)
|
|
247
|
+
return;
|
|
248
|
+
|
|
249
|
+
source.Stop();
|
|
250
|
+
|
|
251
|
+
source.Event = eventName;
|
|
252
|
+
|
|
253
|
+
source.Play();
|
|
254
|
+
}
|
|
255
|
+
#else
|
|
256
|
+
/// <summary>
|
|
257
|
+
///
|
|
258
|
+
/// </summary>
|
|
259
|
+
/// <param name="eventName"></param>
|
|
260
|
+
protected virtual void PlayAdditionalSoundInstance(AudioClip eventName)
|
|
261
|
+
{
|
|
262
|
+
var emitter = gameObject.AddComponent<AudioSource>();
|
|
263
|
+
|
|
264
|
+
emitter.clip = eventName;
|
|
265
|
+
|
|
266
|
+
emitter.Play();
|
|
267
|
+
|
|
268
|
+
StartCoroutine(WaitForInstanceSFXToFinish(emitter));
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/// <summary>
|
|
272
|
+
///
|
|
273
|
+
/// </summary>
|
|
274
|
+
/// <param name="emitter"></param>
|
|
275
|
+
/// <returns></returns>
|
|
276
|
+
protected virtual IEnumerator WaitForInstanceSFXToFinish(AudioSource emitter)
|
|
277
|
+
{
|
|
278
|
+
while (emitter.isPlaying)
|
|
279
|
+
yield return null;
|
|
280
|
+
|
|
281
|
+
Destroy(emitter);
|
|
282
|
+
|
|
283
|
+
yield break;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
public override void StopSoundFX()
|
|
287
|
+
{
|
|
288
|
+
sfxSource.Stop();
|
|
289
|
+
|
|
290
|
+
StopAllInstanceEmitters();
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/// <summary>
|
|
294
|
+
///
|
|
295
|
+
/// </summary>
|
|
296
|
+
protected virtual void StopAllInstanceEmitters()
|
|
297
|
+
{
|
|
298
|
+
AffectInstanceEmitters((emitter) => emitter.Stop());
|
|
299
|
+
|
|
300
|
+
AffectInstanceEmitters((emitter) => Destroy(emitter));
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/// <summary>
|
|
304
|
+
///
|
|
305
|
+
/// </summary>
|
|
306
|
+
/// <param name="affectEmitter"></param>
|
|
307
|
+
protected virtual void AffectInstanceEmitters(Action<AudioSource> affectEmitter)
|
|
308
|
+
{
|
|
309
|
+
List<AudioSource> emitters = GetComponents<AudioSource>().ToList();
|
|
310
|
+
|
|
311
|
+
if (emitters.Count > 0)
|
|
312
|
+
foreach (AudioSource emitter in emitters)
|
|
313
|
+
if (emitter != null)
|
|
314
|
+
affectEmitter(emitter);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
/// <summary>
|
|
319
|
+
///
|
|
320
|
+
/// </summary>
|
|
321
|
+
/// <param name="source"></param>
|
|
322
|
+
protected virtual void PlaySource(AudioSource source)
|
|
323
|
+
{
|
|
324
|
+
if (!(source != null) || source.clip == null)
|
|
325
|
+
return;
|
|
326
|
+
|
|
327
|
+
source.Play();
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/// <summary>
|
|
331
|
+
///
|
|
332
|
+
/// </summary>
|
|
333
|
+
/// <param name="source"></param>
|
|
334
|
+
/// <param name="clip"></param>
|
|
335
|
+
protected virtual void PlaySource(AudioSource source, AudioClip clip)
|
|
336
|
+
{
|
|
337
|
+
if (clip == null || source == null)
|
|
338
|
+
return;
|
|
339
|
+
|
|
340
|
+
source.Stop();
|
|
341
|
+
|
|
342
|
+
source.clip = clip;
|
|
343
|
+
|
|
344
|
+
source.Play();
|
|
345
|
+
}
|
|
346
|
+
#endif
|
|
347
|
+
}
|
|
348
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
|
|
3
|
+
namespace DREditor.Audio
|
|
4
|
+
{
|
|
5
|
+
/// <summary>
|
|
6
|
+
///
|
|
7
|
+
/// </summary>
|
|
8
|
+
/// <remarks></remarks>
|
|
9
|
+
public abstract class SFXManagerBase : SoundService<SFXManagerBase>
|
|
10
|
+
{
|
|
11
|
+
/// <summary>
|
|
12
|
+
///
|
|
13
|
+
/// </summary>
|
|
14
|
+
/// <typeparam name="T"></typeparam>
|
|
15
|
+
/// <param name="eventName"></param>
|
|
16
|
+
public abstract void PlaySFX<T>(T eventName);
|
|
17
|
+
|
|
18
|
+
/// <summary>
|
|
19
|
+
///
|
|
20
|
+
/// </summary>
|
|
21
|
+
public abstract void StopSoundFX();
|
|
22
|
+
|
|
23
|
+
/// <summary>
|
|
24
|
+
///
|
|
25
|
+
/// </summary>
|
|
26
|
+
public abstract void PlayCancel();
|
|
27
|
+
|
|
28
|
+
/// <summary>
|
|
29
|
+
///
|
|
30
|
+
/// </summary>
|
|
31
|
+
public abstract void PlaySelect();
|
|
32
|
+
|
|
33
|
+
/// <summary>
|
|
34
|
+
///
|
|
35
|
+
/// </summary>
|
|
36
|
+
public abstract void PlaySubmit();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &2342656775065836890
|
|
4
|
+
GameObject:
|
|
5
|
+
m_ObjectHideFlags: 0
|
|
6
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
+
m_PrefabInstance: {fileID: 0}
|
|
8
|
+
m_PrefabAsset: {fileID: 0}
|
|
9
|
+
serializedVersion: 6
|
|
10
|
+
m_Component:
|
|
11
|
+
- component: {fileID: 7750639106472776802}
|
|
12
|
+
- component: {fileID: 1102193611957596205}
|
|
13
|
+
m_Layer: 0
|
|
14
|
+
m_Name: Audio_Event_Save_Handler
|
|
15
|
+
m_TagString: Untagged
|
|
16
|
+
m_Icon: {fileID: 0}
|
|
17
|
+
m_NavMeshLayer: 0
|
|
18
|
+
m_StaticEditorFlags: 0
|
|
19
|
+
m_IsActive: 1
|
|
20
|
+
--- !u!4 &7750639106472776802
|
|
21
|
+
Transform:
|
|
22
|
+
m_ObjectHideFlags: 0
|
|
23
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
24
|
+
m_PrefabInstance: {fileID: 0}
|
|
25
|
+
m_PrefabAsset: {fileID: 0}
|
|
26
|
+
m_GameObject: {fileID: 2342656775065836890}
|
|
27
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
28
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
29
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
30
|
+
m_ConstrainProportionsScale: 0
|
|
31
|
+
m_Children: []
|
|
32
|
+
m_Father: {fileID: 0}
|
|
33
|
+
m_RootOrder: 0
|
|
34
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
35
|
+
--- !u!114 &1102193611957596205
|
|
36
|
+
MonoBehaviour:
|
|
37
|
+
m_ObjectHideFlags: 0
|
|
38
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
39
|
+
m_PrefabInstance: {fileID: 0}
|
|
40
|
+
m_PrefabAsset: {fileID: 0}
|
|
41
|
+
m_GameObject: {fileID: 2342656775065836890}
|
|
42
|
+
m_Enabled: 1
|
|
43
|
+
m_EditorHideFlags: 0
|
|
44
|
+
m_Script: {fileID: 11500000, guid: 1962043c122f1234fb6461221e02bd73, type: 3}
|
|
45
|
+
m_Name:
|
|
46
|
+
m_EditorClassIdentifier:
|
|
47
|
+
entries:
|
|
48
|
+
- key: BGMVolume
|
|
49
|
+
value: {fileID: 11400000, guid: c7fc2ceefddb5f74f940b8c2f6a0f729, type: 2}
|
|
50
|
+
skipOnChapterSelect: 0
|
|
51
|
+
- key: SFXVolume
|
|
52
|
+
value: {fileID: 11400000, guid: 4a74a22a65d816249bc71f82549ba217, type: 2}
|
|
53
|
+
skipOnChapterSelect: 0
|
|
54
|
+
- key: VoiceVolume
|
|
55
|
+
value: {fileID: 11400000, guid: 16eddaab211bf4745aec60708aeb95bd, type: 2}
|
|
56
|
+
skipOnChapterSelect: 0
|
|
57
|
+
isLoadingFile: {fileID: 11400000, guid: 1d94fdc8796dc9f43b2a3bedb0f5d4dd, type: 2}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &4072052309038271164
|
|
4
|
+
GameObject:
|
|
5
|
+
m_ObjectHideFlags: 0
|
|
6
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
+
m_PrefabInstance: {fileID: 0}
|
|
8
|
+
m_PrefabAsset: {fileID: 0}
|
|
9
|
+
serializedVersion: 6
|
|
10
|
+
m_Component:
|
|
11
|
+
- component: {fileID: 4072052309038271163}
|
|
12
|
+
- component: {fileID: 4072052309038271162}
|
|
13
|
+
- component: {fileID: 4072052309038271165}
|
|
14
|
+
m_Layer: 0
|
|
15
|
+
m_Name: Credits_Music_Unity
|
|
16
|
+
m_TagString: Untagged
|
|
17
|
+
m_Icon: {fileID: 0}
|
|
18
|
+
m_NavMeshLayer: 0
|
|
19
|
+
m_StaticEditorFlags: 0
|
|
20
|
+
m_IsActive: 1
|
|
21
|
+
--- !u!4 &4072052309038271163
|
|
22
|
+
Transform:
|
|
23
|
+
m_ObjectHideFlags: 0
|
|
24
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
25
|
+
m_PrefabInstance: {fileID: 0}
|
|
26
|
+
m_PrefabAsset: {fileID: 0}
|
|
27
|
+
m_GameObject: {fileID: 4072052309038271164}
|
|
28
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
29
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
30
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
31
|
+
m_ConstrainProportionsScale: 0
|
|
32
|
+
m_Children: []
|
|
33
|
+
m_Father: {fileID: 0}
|
|
34
|
+
m_RootOrder: 0
|
|
35
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
36
|
+
--- !u!114 &4072052309038271162
|
|
37
|
+
MonoBehaviour:
|
|
38
|
+
m_ObjectHideFlags: 0
|
|
39
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
40
|
+
m_PrefabInstance: {fileID: 0}
|
|
41
|
+
m_PrefabAsset: {fileID: 0}
|
|
42
|
+
m_GameObject: {fileID: 4072052309038271164}
|
|
43
|
+
m_Enabled: 1
|
|
44
|
+
m_EditorHideFlags: 0
|
|
45
|
+
m_Script: {fileID: 11500000, guid: 29bd65863043a0b44a511502a9c1f525, type: 3}
|
|
46
|
+
m_Name:
|
|
47
|
+
m_EditorClassIdentifier:
|
|
48
|
+
onLeavingCredits: {fileID: 4072052309038271165}
|
|
49
|
+
musicEvents: []
|
|
50
|
+
--- !u!114 &4072052309038271165
|
|
51
|
+
MonoBehaviour:
|
|
52
|
+
m_ObjectHideFlags: 0
|
|
53
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
54
|
+
m_PrefabInstance: {fileID: 0}
|
|
55
|
+
m_PrefabAsset: {fileID: 0}
|
|
56
|
+
m_GameObject: {fileID: 4072052309038271164}
|
|
57
|
+
m_Enabled: 1
|
|
58
|
+
m_EditorHideFlags: 0
|
|
59
|
+
m_Script: {fileID: 11500000, guid: 9122f094a109f78448db952c36a264a9, type: 3}
|
|
60
|
+
m_Name:
|
|
61
|
+
m_EditorClassIdentifier:
|
|
62
|
+
Event: {fileID: 11400000, guid: ca68761f388344540a47fdaf29d030b8, type: 2}
|
|
63
|
+
Response:
|
|
64
|
+
m_PersistentCalls:
|
|
65
|
+
m_Calls: []
|
|
66
|
+
Condition: {fileID: 0}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1001 &3635727860718540364
|
|
4
|
+
PrefabInstance:
|
|
5
|
+
m_ObjectHideFlags: 0
|
|
6
|
+
serializedVersion: 2
|
|
7
|
+
m_Modification:
|
|
8
|
+
m_TransformParent: {fileID: 0}
|
|
9
|
+
m_Modifications:
|
|
10
|
+
- target: {fileID: 4799304048915999206, guid: ea0724de84e9e5949847f5819fac1364,
|
|
11
|
+
type: 3}
|
|
12
|
+
propertyPath: clipSFX
|
|
13
|
+
value:
|
|
14
|
+
objectReference: {fileID: 8300000, guid: fc0b4b49047382d4ea110a6a80353608, type: 3}
|
|
15
|
+
- target: {fileID: 4799304048915999207, guid: ea0724de84e9e5949847f5819fac1364,
|
|
16
|
+
type: 3}
|
|
17
|
+
propertyPath: m_RootOrder
|
|
18
|
+
value: 0
|
|
19
|
+
objectReference: {fileID: 0}
|
|
20
|
+
- target: {fileID: 4799304048915999207, guid: ea0724de84e9e5949847f5819fac1364,
|
|
21
|
+
type: 3}
|
|
22
|
+
propertyPath: m_LocalPosition.x
|
|
23
|
+
value: 0
|
|
24
|
+
objectReference: {fileID: 0}
|
|
25
|
+
- target: {fileID: 4799304048915999207, guid: ea0724de84e9e5949847f5819fac1364,
|
|
26
|
+
type: 3}
|
|
27
|
+
propertyPath: m_LocalPosition.y
|
|
28
|
+
value: 0
|
|
29
|
+
objectReference: {fileID: 0}
|
|
30
|
+
- target: {fileID: 4799304048915999207, guid: ea0724de84e9e5949847f5819fac1364,
|
|
31
|
+
type: 3}
|
|
32
|
+
propertyPath: m_LocalPosition.z
|
|
33
|
+
value: 0
|
|
34
|
+
objectReference: {fileID: 0}
|
|
35
|
+
- target: {fileID: 4799304048915999207, guid: ea0724de84e9e5949847f5819fac1364,
|
|
36
|
+
type: 3}
|
|
37
|
+
propertyPath: m_LocalRotation.w
|
|
38
|
+
value: 1
|
|
39
|
+
objectReference: {fileID: 0}
|
|
40
|
+
- target: {fileID: 4799304048915999207, guid: ea0724de84e9e5949847f5819fac1364,
|
|
41
|
+
type: 3}
|
|
42
|
+
propertyPath: m_LocalRotation.x
|
|
43
|
+
value: 0
|
|
44
|
+
objectReference: {fileID: 0}
|
|
45
|
+
- target: {fileID: 4799304048915999207, guid: ea0724de84e9e5949847f5819fac1364,
|
|
46
|
+
type: 3}
|
|
47
|
+
propertyPath: m_LocalRotation.y
|
|
48
|
+
value: 0
|
|
49
|
+
objectReference: {fileID: 0}
|
|
50
|
+
- target: {fileID: 4799304048915999207, guid: ea0724de84e9e5949847f5819fac1364,
|
|
51
|
+
type: 3}
|
|
52
|
+
propertyPath: m_LocalRotation.z
|
|
53
|
+
value: 0
|
|
54
|
+
objectReference: {fileID: 0}
|
|
55
|
+
- target: {fileID: 4799304048915999207, guid: ea0724de84e9e5949847f5819fac1364,
|
|
56
|
+
type: 3}
|
|
57
|
+
propertyPath: m_LocalEulerAnglesHint.x
|
|
58
|
+
value: 0
|
|
59
|
+
objectReference: {fileID: 0}
|
|
60
|
+
- target: {fileID: 4799304048915999207, guid: ea0724de84e9e5949847f5819fac1364,
|
|
61
|
+
type: 3}
|
|
62
|
+
propertyPath: m_LocalEulerAnglesHint.y
|
|
63
|
+
value: 0
|
|
64
|
+
objectReference: {fileID: 0}
|
|
65
|
+
- target: {fileID: 4799304048915999207, guid: ea0724de84e9e5949847f5819fac1364,
|
|
66
|
+
type: 3}
|
|
67
|
+
propertyPath: m_LocalEulerAnglesHint.z
|
|
68
|
+
value: 0
|
|
69
|
+
objectReference: {fileID: 0}
|
|
70
|
+
- target: {fileID: 4799304048915999208, guid: ea0724de84e9e5949847f5819fac1364,
|
|
71
|
+
type: 3}
|
|
72
|
+
propertyPath: m_Name
|
|
73
|
+
value: Dialogue_Click_Sound_Player_DRE
|
|
74
|
+
objectReference: {fileID: 0}
|
|
75
|
+
m_RemovedComponents: []
|
|
76
|
+
m_SourcePrefab: {fileID: 100100000, guid: ea0724de84e9e5949847f5819fac1364, type: 3}
|