KeyValues.GotoNextKey Method

Sets the current position in the KeyValues tree to the next sub key. This native does NOT add to the internal traversal stack, and thus GoBack() is not needed for each successive call to this function.

bool GotoNextKey(bool keyOnly)

Parameters

bool keyOnly

If false, non-keys will be traversed (values).

Return Value

True on success, false if there was no next sub key.