Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Exposed references in PropertyDrawer

Discussion in 'Timeline' started by sp-sergio-gil, Jan 17, 2018.

  1. sp-sergio-gil

    sp-sergio-gil

    Joined:
    Mar 5, 2014
    Posts:
    45
    Hi all!

    I'm testing the default playables asset store package and with the included TransformTween playable there are two exposed references (transforms).

    The thing is that in his custom property drawer we are not referencing this exposed references but they are currently shown. In my case I want something similar, but I want to have control to show this exposed references in the inspector only is a bool is selected and in the line that I really want (not at the end as right now)

    How can I achieve it?

    thanks!

    Sergi