コード例 #1
0
    void Update()
    {
        weight = Mathf.Clamp01(weight);

        Debug.Log(mixer.GetPlayState());
        if (Input.GetKey(KeyCode.Q))
        {
            clipPlayable2.SetDelay(5.0f);
        }

        mixer.SetInputWeight(0, 1.0f - weight);
        mixer.SetInputWeight(1, weight);
    }