Sets the priority of the AudioSource.
// occlude this sound if we dont have hardware resources to virtualize it audio.priority = 255;
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { audio.priority = 255; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: audio.priority = 255