Property | Value |
---|---|
Id | UEA0014 |
Category | Performance |
Severity | Info |
using UnityEngine;
class Example : MonoBehaviour
{
AudioSource audioSource;
void Update()
{
audioSource.mute = true;
}
}
using UnityEngine;
class Example : MonoBehaviour
{
AudioSource audioSource;
void Update()
{
audioSource.enabled = false;
}
}