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:
    1,231
    DezBoyle likes this.
  2. HonorableDaniel

    HonorableDaniel

    Joined:
    Feb 28, 2007
    Posts:
    2,915
  3. JakubSmaga

    JakubSmaga

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

    laeusnb

    Joined:
    Jun 10, 2014
    Posts:
    71
    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.
     
    JimmyCushnie likes this.
  5. JimmyCushnie

    JimmyCushnie

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