レッスン 5

目次

Game ParameterをWwise-Typeで設定する: SetTimeOfDayRTPC

(参照: Game Parameterを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);
    }
}

このページはお役に立ちましたか?