Search Unity

Change Sprite of a Button based on User Interaction

Discussion in 'UGUI & TextMesh Pro' started by F3RILLA, Sep 24, 2014.

  1. F3RILLA

    F3RILLA

    Joined:
    Jun 23, 2013
    Posts:
    4
    Hey guys,

    I am currently experimenting with the new UI System and have found it extremely useful and fast. At the moment I am currently trying to change the Sprite assigned to a UI Button via Script.

    Does anyone know how this can be achieved?

    Thanks
    Barry