Search Unity

How to not lose focus on InputField when pressing a button?

Discussion in 'UGUI & TextMesh Pro' started by peterept, Aug 21, 2015.

  1. peterept

    peterept

    Joined:
    Dec 6, 2012
    Posts:
    22
    I have an input field which has the focus.
    I want to press on buttons to send canned text to the currently focused input field.
    But tapping on the button also de-activates the input field.
    Any way to tell buttons not to take focus?
    Thanks!