Enum Paging Attribute

Draws an enum selector in the inspector with next and previous buttons to let you cycle through the available values for the enum property.

[EnumPaging]
public SomeEnum SomeEnumField;

public enum SomeEnum
{
    A, B, C
}

[ShowInInspector]
[EnumPaging, OnValueChanged("SetCurrentTool")]
[InfoBox("Changing this property will change the current selected tool in the Unity editor.")]
private UnityEditor.Tool sceneTool;

private void SetCurrentTool()
{
    UnityEditor.Tools.current = this.sceneTool;
}