menu
Wwise
arrow_drop_down
Strata
arrow_drop_down
Solutions
arrow_drop_down
Apprendre
arrow_drop_down
Communauté
arrow_drop_down
Documentation
arrow_drop_down
Aide
arrow_drop_down
Table des matières
(go to Setting a Music Region State)
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SetMusicState : MonoBehaviour { public AK.Wwise.State OnTriggerEnterState; public AK.Wwise.State OnTriggerExitState; private void OnTriggerEnter(Collider other){ if(other.CompareTag("Player")){ OnTriggerEnterState.SetValue(); } } private void OnTriggerExit(Collider other){ if(other.CompareTag("Player")){ OnTriggerExitState.SetValue(); } } }
Le matériel d'apprentissage pour cette certification n'est pas offert dans votre langue de navigation.
Veuillez sélectionner l'une des langues ci-dessous pour accéder à ce contenu.