浏览代码

[Bot] Automated dotnet-format update

/main
Ciro Continisio 4 年前
当前提交
55026ca5
共有 3 个文件被更改,包括 4 次插入3 次删除
  1. 2
      UOP1_Project/Assets/Scripts/Audio/AudioManager.cs
  2. 2
      UOP1_Project/Assets/Scripts/Events/ScriptableObjects/AudioCueEventChannelSO.cs
  3. 3
      UOP1_Project/Assets/Scripts/Pool/ComponentPoolSO.cs

2
UOP1_Project/Assets/Scripts/Audio/AudioManager.cs


if (soundEmitter != null)
{
soundEmitter.PlayAudioClip(clipsToPlay[i], settings, audioCue.looping, position);
if(!audioCue.looping)
if (!audioCue.looping)
soundEmitter.OnSoundFinishedPlaying += OnSoundEmitterFinishedPlaying;
}
}

2
UOP1_Project/Assets/Scripts/Events/ScriptableObjects/AudioCueEventChannelSO.cs


public void RaiseEvent(AudioCueSO audioCue, AudioConfigurationSO audioConfiguration, Vector3 positionInSpace)
{
if(OnAudioCueRequested != null)
if (OnAudioCueRequested != null)
{
OnAudioCueRequested.Invoke(audioCue, audioConfiguration, positionInSpace);
}

3
UOP1_Project/Assets/Scripts/Pool/ComponentPoolSO.cs


public abstract class ComponentPoolSO<T> : PoolSO<T> where T : Component
{
private GameObject _poolRootObject;
private GameObject PoolRootObject {
private GameObject PoolRootObject
{
get
{
if (!Application.isPlaying)

正在加载...
取消
保存