Search Unity

[Solved] Getting the next Selectable object from navigation(set to automatic)

Discussion in 'UGUI & TextMesh Pro' started by shirtface, Aug 15, 2015.

  1. shirtface

    shirtface

    Joined:
    Sep 12, 2014
    Posts:
    4
    Hello,
    I am attempting to retrieve a selectable component from an existing selectable object who's navigation is set to automatic. In the editor, I see that there are yellow arrows pointing to the next potential object, however when I try to retrieve a selectable from selectOnRight, selectOnLeft,etc with button.navigation.selectOnRight retruns null. How can I get a selectable object when its navigation is set to automatic?
     
  2. shirtface

    shirtface

    Joined:
    Sep 12, 2014
    Posts:
    4