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
}

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

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