InspectorFoldoutGroup icon indicating copy to clipboard operation
InspectorFoldoutGroup copied to clipboard

Simply doesn't work for me, bummer

Open edwonedwon opened this issue 5 years ago • 11 comments

was excited to use this, doesn't do anything tho, using as referenced in the readme

I'm using Unity 2018.2.15f1

edwonedwon avatar Nov 20 '18 20:11 edwonedwon

HI! I didn't tested it with Unity 2018.2.15f1 . Also if you have any other unity inspector editing scripts it may not work.

PixeyeHQ avatar Nov 21 '18 04:11 PixeyeHQ

Same problem here.

I went through the code and it seems that any component with already an Editor script are simply skipped. Would there be a way to trigger the Foldout behaviour from within the custom editor script? This little tool looks amazing but it is way too restrictive if I can't use it together with a simple button.

Nesh108 avatar Nov 26 '18 15:11 Nesh108

put [Homebrew.Foldout("Test")] intead [Foldout("Test")]

Roritamashi avatar Feb 04 '19 00:02 Roritamashi

@Roritamashi how about using the foldout in a custom inspector? Is that possible?

Nesh108 avatar Feb 04 '19 13:02 Nesh108

@Nesh108 i dind't tested it on a custom inspector but it may be work or not?

Roritamashi avatar Feb 04 '19 16:02 Roritamashi

@Roritamashi it would be nice to have the following (it might already work but I couldn't myself):

  • Have a script with a custom editor and Foldout work on the variables in the default inspector
  • Being able to call up the Foldout within a custom editor script and use it with custom fields

Is that doable?

Nesh108 avatar Feb 04 '19 16:02 Nesh108

@Nesh108 i think you need to add the new inspector fields on the script, im i have no idea how to do that sorry

Roritamashi avatar Feb 04 '19 16:02 Roritamashi

Too bad :(

Nesh108 avatar Feb 04 '19 16:02 Nesh108

send a PM to the creator to talk with him?

Roritamashi avatar Feb 04 '19 16:02 Roritamashi

I have other custom editors that target UnityEngine.Object, which conflicts with this one, so only one or the other can work at any one time. Without rewriting both this and the other one in major ways so they work together, was wondering if you can think of any ways to combine both functionality?

Only thing I can think of is to rewrite it so both this and the other one handles only the SerializedProperty that it needs to, and let the other one handle other properties. But both this and the other editor are designed to draw the entire object, not just individual properties so it's a lot of work to rewrite them

arvz avatar Jan 06 '21 02:01 arvz

https://github.com/PixeyeHQ/InspectorFoldoutGroup/issues/14#issuecomment-840538885

haywirephoenix avatar May 13 '21 14:05 haywirephoenix