예제 #1
0
    private void Awake()
    {
        audioTrack = gameObject.AddComponent <AudioTrack> ();
        audioTrack.SetAudioClip(placeholderClip);

        trackLength         = placeholderClip.length;
        inverse_trackLength = 1f / trackLength;
    }