feat: Add switch container functionality

This commit is contained in:
2026-04-15 21:05:17 +08:00
parent c62cb4f37b
commit ca6fff2717
57 changed files with 719 additions and 75 deletions
@@ -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>