Search Unity

Dropdown fade in/out hard-coded

Discussion in 'UGUI & TextMesh Pro' started by andyz, Jul 30, 2018.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,276
    DezBoyle likes this.
  2. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
  3. JakubSmaga

    JakubSmaga

    Joined:
    Aug 5, 2015
    Posts:
    417
  4. laessnb

    laessnb

    Joined:
    Jun 10, 2014
    Posts:
    101
    Is there a way to change this for TextMeshPro dropdowns as well? Or does it require modifying the TMP source package?

    Edit: was about to modify the TMP source when I found TMP_Dropdown.alphaFadeSpeed, which can be accessed from script to modify the internal fade duration.
     
    cxode likes this.
  5. cxode

    cxode

    Joined:
    Jun 7, 2017
    Posts:
    268
    Thanks for saving me tons of time figuring this out on my own!
     
    laessnb likes this.