Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Sprite - Icons with text (e.g. emoticons)

Discussion in 'UGUI & TextMesh Pro' started by Immanuel-Scholz, Sep 1, 2014.

  1. almo

    almo

    Joined:
    Jul 14, 2010
    Posts:
    83
    In TextPic I don't see

    Code (CSharp):
    1.         [SerializeField]
    2.         private HrefClickEvent m_OnHrefClick = new HrefClickEvent();
    3.  
    in the inspector, and clicking a link just does

    Code (CSharp):
    1.         m_OnHrefClick.Invoke(hrefInfo.name);
    2.  
    which does nothing. Is this supposed to work out of the box? I don't mind writing some code for it to work, but I get the feeling I'm doing something wrong.
     
  2. playemgames

    playemgames

    Joined:
    Apr 30, 2009
    Posts:
    438
    Please submit changes to the codebase here:

    https://bitbucket.org/UnityUIExtens...Pic.cs?at=master&fileviewer=file-view-default

    This is where it is being maintained.
     
  3. artem_kolesnikov

    artem_kolesnikov

    Joined:
    Jun 9, 2018
    Posts:
    1
    Hi everyone!
    After update Unity from 2017.4.40f1 onto 2018.4.31f1 i found bug in TextPic when he trying to show few images in text field. I thing problem in method OnPopulateMesh, positions have one item, now two, for 2 text-images.
     

    Attached Files: