Unclaimed Package Is this your package? Claim it to unlock full analytics and manage your listing.
Claim This Package

Install via UPM

Add to Unity Package Manager using this URL

https://www.pkglnk.dev/er-inspector.git

README Markdown

Copy this to your project's README.md

Style
Preview
pkglnk installs badge
## Installation

Add **ER Inspector** to your Unity project via Package Manager:

1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/er-inspector.git
```

[![pkglnk](https://www.pkglnk.dev/badge/er-inspector.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/er-inspector)

README

ER Inspector

ER Inspector is a custom Unity tool designed to help developers organize the Inspector view in a cleaner, more informative, and interactive way. With this tool, you can add visual elements such as titles, info boxes, or buttons all controllable through simple attributes within your scripts. This tool is especially useful for improving editor workflows and clarifying the structure and purpose of variables or methods in a component.

License: MIT openupm CodeFactor

Code Editor Inspector Unity
Preview 1 Preview 2

Features

  • Title
    Adds a text heading above a variable, useful for grouping or highlighting sections in the Inspector.

  • [Title("Enter the title")]
    private string _title;
    
  • Info Box
    Displays an information box containing explanations or notes related to a serialized variable, helpful for documentation or usage guidance.

  • [InfoBox("Enter description")]
    private int _infoBox;
    
  • Show If
    Conditionally displays a variable in the Inspector only if a specific boolean value is true. This helps keep the Inspector clean and only shows relevant data when needed.

  • [ShowIf("Enter boolean variables")]
    private int _showIf;
    
  • Read Only
    Makes a variable viewable but not editable in the Inspector. Ideal for displaying runtime data or values that shouldn't be modified manually.

  • [ReadOnly]
    private int _readOnly;
    
  • Asset Only
    Restricts variable assignment to assets only (e.g., prefabs, sprites, materials). It prevents scene objects from being assigned to the variable.

  • [AssetOnly]
    private int _assetOnly;
    
  • Scene Only
    Opposite of Asset Only, this limits variable references to scene objects (Hierarchy), disallowing asset assignments.

  • [SceneOnly]
    private int _sceneOnly;
    
  • Button
    Enables calling a method directly from the Inspector using a button, great for debugging or executing editor-side functions quickly.
  • [Button]
    public void Button() {}
    

Comments

No comments yet. Be the first!