feat: Add switch container functionality
This commit is contained in:
@@ -488,8 +488,6 @@ namespace OCES.Audio
|
||||
|
||||
DecrementClipCount(active.AudioObject.Id);
|
||||
this.m_activeSounds.Remove(active);
|
||||
// TryStopHaptic(active.AudioObject.Haptic);
|
||||
|
||||
this.m_pool.ReturnToPool(active.Source.gameObject);
|
||||
}
|
||||
|
||||
@@ -511,8 +509,6 @@ namespace OCES.Audio
|
||||
DecrementClipCount(active.AudioObject.Id);
|
||||
this.m_activeSounds.Remove(active);
|
||||
this.m_pool.ReturnToPool(active.Source.gameObject);
|
||||
|
||||
// TryStopHaptic(active.AudioObject.Haptic);
|
||||
}
|
||||
|
||||
static void TryStartHaptic(ActiveSound active)
|
||||
@@ -526,7 +522,6 @@ namespace OCES.Audio
|
||||
{
|
||||
HapticSystem.Instance.Stop(hapticId);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user