TylerTemp / SaintsField

A Unity Inspector extension tool focusing on script fields inspector enhancement
MIT License
148 stars 9 forks source link

[GetComponentInChildren] doesn't work for List #47

Closed laurentopia closed 1 month ago

laurentopia commented 1 month ago

repro: add the component with this image = nothing happens and the list is still empty expected: list populated by all the things derived from that type.

TylerTemp commented 1 month ago

Hi,

this is related to #45, which affects GetComponent, GetComponentInParent(s), GetPrefabtWithComponent etc. and is working in process

laurentopia commented 1 month ago

gotcha, thanks!

TylerTemp commented 1 month ago

Hi, this feature has been added in 3.1.4 you can have a try.

laurentopia commented 1 month ago

Great, I just realized that I'm still in 3.0.14. noob question: is there a way to update directly from the package manager?

TylerTemp commented 1 month ago

Depending on how you install the package:

  1. AssetStore: Yes. But it's 3-5 days delay for new version because Unity need to review it

  2. OpenUPM: run the command again: openupm add today.comes.saintsfield

  3. git upm: Yes. If it does not shown, edit Packages/packages-lock.json and delete:

    "today.comes.saintsfield": {
      "version": "https://github.com/TylerTemp/SaintsField.git#dev",
      "depth": 0,
      "source": "git",
      "dependencies": {},
      "hash": "some hash string"
    },
  4. unitypackage: No, you need to download the new file and import it again'

  5. git submodule: cd Assets/SaintsField, then git pull