All Projects → seonghwan-dev → AssetLens

seonghwan-dev / AssetLens

Licence: MIT license
Asset Lens : Unity asset reference management utility working in background. 에디터 백그라운드에서 관리되는 유니티 에셋 파일 레퍼런스 데이터 도구.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to AssetLens

D Optimizer
Make Dota 2 fps great again
Stars: ✭ 161 (+242.55%)
Mutual labels:  reference
Front End Performance Checklist
🎮 The only Front-End Performance Checklist that runs faster than the others
Stars: ✭ 13,815 (+29293.62%)
Mutual labels:  reference
Taotie
饕餮:A curated collection of resources for astrophysical research
Stars: ✭ 224 (+376.6%)
Mutual labels:  reference
Unitymathreference
Math reference for games and more. All visualized in Unity3D.
Stars: ✭ 166 (+253.19%)
Mutual labels:  reference
Front End Performance Checklist
🎮 더 빠르게 작동하는 프론트엔드 성능 체크리스트
Stars: ✭ 183 (+289.36%)
Mutual labels:  reference
Visual Scala Reference
Visual Scala Reference
Stars: ✭ 198 (+321.28%)
Mutual labels:  reference
Es6
ES5 vs ES6 Reference
Stars: ✭ 158 (+236.17%)
Mutual labels:  reference
template-unity-package
A Github template for creating a new Unity Package. Hit the green "User this template" next to "Clone or download" to get started!
Stars: ✭ 50 (+6.38%)
Mutual labels:  unity3d-plugin
Elispcheatsheet
Quick reference to the core language of Emacs ---Editor MACroS.
Stars: ✭ 186 (+295.74%)
Mutual labels:  reference
Checklist Checklist
🌈 A Curated List of Checklists ✔︎✔︎
Stars: ✭ 2,372 (+4946.81%)
Mutual labels:  reference
Nginx Admins Handbook
How to improve NGINX performance, security, and other important things.
Stars: ✭ 12,463 (+26417.02%)
Mutual labels:  reference
Javascriptcheatsheet
Quick reference to the tremendously accessible high-level language of the web ^_^
Stars: ✭ 175 (+272.34%)
Mutual labels:  reference
Sky Design
🌃 the design reference for the developers who care about good design.
Stars: ✭ 199 (+323.4%)
Mutual labels:  reference
Theoretical Physics
Source code of the Theoretical Physics Reference online book
Stars: ✭ 163 (+246.81%)
Mutual labels:  reference
Sportsipy
A free sports API written for python
Stars: ✭ 229 (+387.23%)
Mutual labels:  reference
X86reference
X86 Opcode and Instruction Reference: http://ref.x86asm.net
Stars: ✭ 159 (+238.3%)
Mutual labels:  reference
Vim Ref
Integrated reference viewer.
Stars: ✭ 194 (+312.77%)
Mutual labels:  reference
Unity-2017.2-and-Vuforia-6.5---Camera-Auto-Focus
Unity 2017.2 and Vuforia 6.5 Augmented Reality (AR) Camera Auto Focus
Stars: ✭ 17 (-63.83%)
Mutual labels:  unity3d-plugin
Front End Checklist
🗂 The perfect Front-End Checklist for modern websites and meticulous developers
Stars: ✭ 57,386 (+121997.87%)
Mutual labels:  reference
Javascripter
Helping junior developers navigate the complex world of software engineering without experiencing information overload.
Stars: ✭ 203 (+331.91%)
Mutual labels:  reference

Asset Lens

About Asset Lens

Asset Lens is a dependency tracking plugin for UnityEditor that provides additional information such as the number of usage.

This plugin is based on pre-cached complementary guid map to trace which asset has dependencies to specific asset. The pain point that mainly considered with Unity is that when we delete an asset, we don't know which asset is using it.

Requirements

  • All assets must be serialized as force-text option in ProjectSetting/Editor

Compatibility

We recommend the version 2021.2.0f1 or latest because of UI Toolkit(former UI Elements).
But plug-in still work well in lower version.

Specifically tested semantic version is :

npm version

Installation

Download with NPM (Unity Package Manager)

NPM

Replace stable version at version definition in json x.x.x
example) "com.calci.assetlens": "0.4.2"

{
    "dependencies": {
        "com.calci.assetlens": "x.x.x"
    }
}
{
    "scopedRegistries": [
        {
            "name": "npm",
            "url": "https://registry.npmjs.org",
            "scopes": [
                "com.calci"
            ]
        }
    ]
}

Download with OpenUPM

openupm

openupm add com.calci.assetlens

GitHub Link

https://github.com/seonghwan-dev/assetlens.git#upm

QuickStart

When you install plugin, indexing wizard will be shown.

image

  1. Hit the bluish generate button and then wait for progress bar.
  2. When it finished, wizard will be close automatically.
  3. Select any asset you want to see which asset uses that.
  4. There is 2 options to show dependencies between assets.
    4-1. hit detail button on top of the inspector. then editor window will be shown.
    4-2. set mouse cursor to the asset in project view and hit right click and select context menu named Find Reference In Project.
Show Option Description
  • Indexes by GUID Regular Expression : find dependencies by GUID Regex or EditorUtility.CollectDependencies.
  • Trace scene object hierarchically : WIP (not in feature currently)
  • Inlcude subdirectories of Packages : Include assets under Packages/ or not.
  • Always open when you start a project : if you want to see this wizard on startup again, disable this option.

Fundamentals

Features

  • Display asset usage count in inspector.
  • Find References In Project

Reference Viewer Window

before initialize after initialize
not available available to trace dependencies

Overview

image

  • 0.2.6 : Indexer version. This represent the which serializer indexes this asset.
  • (UnityEngine.GameObject) : the type of selected asset. prefabs are displayed as GameObject.
  • Last Modified : 2021-12-22 PM 8:39:34 : last modified date time of asset. this information is not from cached data but file metadata.
  • Dependencies : list up assets that this asset is using. Cube 2 includes the material MAT_Green in MeshRenderer.
  • Used By : list up assets that uses selected asset. if you delete the Cube 2 then the instantiated prefab in SampleScene will be disconnected and displyed as missing.

Inspector Lens

Displays the number of other resources using the selected asset.

  • Details : Open Reference Viewer as EditorWindow instantly.
  • Refresh : Reserialized cached reference data asset.
  • GUID : Displays the guid of selected asset. onClick events will copy guid to your clipboard.

Community

Discord

Roadmap

Not stable yet, but under development.

Reference Viewer

[x] Reference View for Persistent Assets.
[ ] Reference View for Scene Objects.
[ ] Sortable Multi-Column viewer.
[ ] Dependency graph for Scene Objects.

Inspector Lens.

[x] Display how many assets are related to selected asset at the top of the inspector.
[ ] Pop-up window of linked assets such as nested prefab inspector.

Safe Delete

[x] Alert before the asset that is used by other asset will be deleted.
[ ] (Experimental) Replace reference during delete asset. (Reference Replacer)

Build Lens

[ ] Find the assets will be included in build
[ ] Asset bundle, Addressable, Linked assets with scenes in build setting, resources.


Contributes

  • Current Editor Version : 2021.2.0f1
  • Fork and clone repository.
  • Edit sources and commit with conventional commits (prefer Commitizen)
  • Add unit test codes for new feature (Optional)
  • Create PR.

Developer mode

Select menu in Help/Asset Lens/Enter Debug Mode or Add an scripting define symbol DEBUG_ASSETLENS at ProjectSettings/Player.

Edit Languages

  • Run Tools/Asset Lens_DEV/Add New Language to create a new localization profile.
  • Run Tools/Asset Lens_DEV/Update Language profiles to add field after edit Localize class.

Requirements

  • commitizen - conventional commit log to generate changelog

Tests

must be passed test in 2019.4, 2020.3, 2021.1, 2021.2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].