Untitled

 avatar
unknown
csharp
4 years ago
798 B
6
Indexable
    public void Navigate() {
        //Debug Log through all layers and markups of the song
        foreach(Rhythm.MarkupLayer layer in rhythm.layers) {
            Debug.Log("Layer: " + layer.layerName);

            foreach(Rhythm.Markup markup in layer.markups) {
                Debug.Log("\t Markup data: " +
                    "\ntimestamp: " + markup.timer +
                    "\nlength: " + markup.length +
                    "\nparameter count: " + markup.additionalParameters.Count);
            }
        }

        rhythmator.TimeForNextHit(rhythm.layers[0].layerName); //Time in seconds for the next event in layer to be triggered
        rhythmator.TimeFromPreviousHit(rhythm.layers[0].layerName); //Time in seconds since the last event in layer was triggered
    }
Editor is loading...