예제 #1
0
    public void setFadeTimes()
    {
        IEnumerable <TimelineClip> clips = GetClips();

        foreach (TimelineClip clip in clips)
        {
            AkEventPlayable clipPlayable = (AkEventPlayable)clip.asset;
            clipPlayable.setBlendInDuration((float)getBlendInTime(clipPlayable));
            clipPlayable.setBlendOutDuration((float)getBlendOutTime(clipPlayable));
            clipPlayable.setEaseInDuration((float)getEaseInTime(clipPlayable));
            clipPlayable.setEaseOutDuration((float)getEaseOutTime(clipPlayable));
        }
    }