public void PlaySFX(EAnimSFXType animSFXType) { m_AudioManager.PlayAnimSFX(m_PlayerInfoComponent.GetPlayerIndex(), animSFXType); }
public void StopAnimSFX(int playerIndex, EAnimSFXType animSFXType) { AudioSource sourceToPlay = (playerIndex == 0) ? m_Player1AnimSFXAudioSources[animSFXType] : m_Player2AnimSFXAudioSources[animSFXType]; sourceToPlay.Stop(); }
public AnimSFX(EAnimSFXType type) { #if UNITY_EDITOR m_Name = type.ToString(); #endif }