Skip to content

Simple Field Search for all MonoBehaviour's with caching logic between sessions in Unity.

License

Notifications You must be signed in to change notification settings

Proton-V/FieldSearch-Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FieldSearch-Unity V1.0.3

image

  • Ability to set SearchableEditor for all MonoBehaviour
  • Add to project without git handler
  • Save your requests between sessions with caching logic
  • Default Search with criteria (ObjName, FieldName) && options (StartWith, IgnoreCase)
  • Create your own search logic if necessary
  • Override current CustomEditors with EditorScriptGeneratorWindow

Docs link

Tested on:

  • Unity Editor: 2018.4.3f1 | 2020.3.35f1
  • OS: Windows 10

Quick start

Step 1 (Optional)

You can install this as package (nit: git will always handle "package.json" && lock file).

Use PackageManager -> Add package from git URL...

https://github.com/Proton-V/FieldSearch-Unity.git?path=/FieldSearch/Assets/FieldSearch

If you want example of using SearchableEditor for specific MonoBehaviour please see Step 2

Step 2

Skip this if you installed this as package && you don't want to add a "FieldSearchDemo" folder

Download && Import latest asset package V1.0.3

"FieldSearchDemo" folder (optional) contains example of using SearchableEditor for specific MonoBehaviour

  • Uncheck "FieldSearchDemo" folder if you don't need it.
  • Uncheck "FieldSearch" folder if you have this as pacakge.

image

Step 3

Create instance of default settings Field Search -> Add default settings ...

image

Step 4 (Optional)

Field Search -> Add package folders to .gitignore (global)

After adding this package as asset you have tracked files for you git repo.

You can remove it for git without updating .gitignore in repo

Before press:

image

After press:

image

Also you can undo it

Field Search -> Remove package folders from .gitignore (global)

Settings

image

  1. Apply SearchableEditor to all MonoBehaviour (who don't use custom inspector)
  2. You can create && set custom SearchableLayerInspector to change default view of SearchableEditor
  3. Save cache to disk to use previous cache between sessions
  4. Memory limit in MB - memory and disk cache limit
  5. Ref to EditorScriptGeneratorSettings
  6. Clear cache buttons
  7. Open EditorScriptGenerator window button

EditorScriptGenerator Window

You can try to override current active editors

image

  • You can create your own Generation Template && Generator

About

Simple Field Search for all MonoBehaviour's with caching logic between sessions in Unity.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages