Create powerful and user-friendly editors for you and your team!
Absolutely. Odin supports inspecting any static field or property and even entire static types.
To show a static member in the inspector, you just need to add the ShowInInspector attribute, and with that you can both see and edit the values of your static members.
Of course, you can also use all of Odin's attributes on your static members to change how they appear in the editor.
public class MyMonoBehaviour : MonoBehaviour
{
[ShowInInspector]
public static int StaticCount;
[ShowInInspector, FilePath]
public static string FilePath { get; set; }
}
To inspect a static type or all static members in a type, all you need to do is use the Static Inspector, found in Tools > Odin Inspector > Static Inspector.