5 개의 강의

목차

Setting Game Parameters using Wwise-Types: SetTimeOfDayRTPC

(go to Setting Game Parameters using Wwise-Types)

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
    
public class SetTimeOfDayRTPC : MonoBehaviour {
    public AK.Wwise.RTPC TimeOfDayRTPC;
    // Use this for initialization.
    void Start () {
    
    }
    
    // Update is called once per frame.
    void Update () {
        TimeOfDayRTPC.SetGlobalValue(GameManager.TimeOfDay);
    }
}