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
, andGameObjects
. - 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.
Supported custom classes that inherit from generic collections.
Such as nested arrays and lists.
```csharp
public int[][] example1;
private Dictionary
Pro Version Exclusive
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.