Skip to content

Supported Types in Tree-View

Understanding which types are supported by InspectMe is crucial for effective debugging and inspection in Unity. This guide provides a clear overview to help you work seamlessly with InspectMe.

Supported Types

InspectMe is designed to support a wide range of types commonly used in Unity development. Below is a list of types that you can inspect with InspectMe:

Basic and Unity Specific Types

  • Classes and Structs: Standard C# classes and structures.
  • Unity Components: Including MonoBehaviour, ScriptableObjects, and GameObjects.
  • Primitive Types: Such as string, float, int, bool, etc.
  • Unity/C# Value Types: Common types like Color, Vector2, Rect, DateTime, TimeSpan, etc.
  • Record Types: Immutable data structures introduced in C# 9.0 for concise and expressive code.

Advanced Types

  • Graphics Types: Including Sprite, Texture2D, Cubemap, Material, Shader, Mesh, etc.
  • Interfaces: InspectMe can show instances that implement a specified interface.

Collections

Supported all generic collection types including Array type.

private List<string> _example1;
public Transform[] example2;
public Dictionary<string,DateTime> Example3 { get; set;}

Supported custom classes that inherit from generic collections.

public class CustomQueue : Queue<float> {   }  
public class CustomGenericQueue<T> : Queue<T> {   }

Such as nested arrays and lists.

public int[][] example1;
private Dictionary<int, SortedList<int, List<int>>> example2;

Pro Version Exclusive Pro

Static Members

InspectMe supports the inspection of static members, allowing you to view static fields and properties of your classes and structs. Additionally, the tree view also supports static classes, providing a comprehensive inspection capability.

public static class StaticExampleClass
{
    public static int staticInt;
    private static string staticString { get; set; }
}

public class ExampleClass
{
    public static int staticInt;
    private static string staticString { get; set; }
}

Expanding Our Horizons

At InspectMe, we're continuously working to broaden our scope of supported types. Our team is dedicated to enhancing InspectMe's capabilities, ensuring it evolves alongside your development needs. Keep an eye on our Changelog for updates on new types and features. Your feedback and suggestions are invaluable to us, so if there's a type you'd like to see supported, please let us know on our Support page.


Thank you for being part of our journey towards making InspectMe the most versatile and user-friendly tool for Unity developers.