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 Creating Diversity Using Game Parameters)
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SetRTPCToDistance : MonoBehaviour { public AK.Wwise.RTPC GameParameter; public Transform OtherTransform; // Update is called once per frame. void Update () { float distance = Vector3.Distance(OtherTransform.position, transform.position); GameParameter.SetGlobalValue(distance); } }
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.