<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — How to create a tooltip that acts like a button?]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=122&amp;type=atom" />
	<updated>2016-04-08T13:25:19Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=122</id>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=557#p557" />
			<content type="html"><![CDATA[<p>Hey there, thanks we reversed our logic and now everything is working 100%</p><p>rock on!</p>]]></content>
			<author>
				<name><![CDATA[luke.carelsen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=117</uri>
			</author>
			<updated>2016-04-08T13:25:19Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=557#p557</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=551#p551" />
			<content type="html"><![CDATA[<p>Message has a complete description of the error (tooltip == null).<br />I do not know your code, and what you wanna do, but 99% that you do not need this method at all.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-04-06T11:37:59Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=551#p551</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=550#p550" />
			<content type="html"><![CDATA[<p>now I&#039;m experiencing something really weird.</p><p>everything works like i want it to but it produces an error: </p><div class="codebox"><pre><code>NullReferenceException: Object reference not set to an instance of an object
AWS_Dataload.ShowTooltip (.OnlineMapsMarkerBase marker) (at Assets/Script/AWS_Dataload.cs:85)
OnlineMapsControlBase.OnMapBaseRelease () (at Assets/Infinity Code/Online maps/Scripts/Controls/OnlineMapsControlBase.cs:563)
OnlineMapsUIImageControl.BeforeUpdate () (at Assets/Infinity Code/Online maps/Scripts/Controls/OnlineMapsUIImageControl.cs:46)
OnlineMapsControlBase.Update () (at Assets/Infinity Code/Online maps/Scripts/Controls/OnlineMapsControlBase.cs:630)</code></pre></div><p>here is the code it is referring to.<br /></p><div class="codebox"><pre><code>    private void ShowTooltip(OnlineMapsMarkerBase marker)
    {
        tooltipMarker = marker as OnlineMapsMarker;
        Debug.Log (&quot;Showing Tooltip&quot;);

        OnlineMapsXML xml = marker.customData as OnlineMapsXML;


        if (xml == null)
        {
            Debug.Log(&quot;The marker does not contain XML.&quot;);
            return;
        }

       // here is where the error happens
        tooltip.GetComponent&lt;VariableTest&gt; ().UserName.text = xml.Get (&quot;UserName&quot;);
        tooltip.GetComponent&lt;VariableTest&gt; ().UserIdStr = xml.Get (&quot;UserID&quot;);
        tooltip.GetComponent&lt;VariableTest&gt; ().PostIdStr = xml.Get (&quot;PostID&quot;);
        tooltip.GetComponent&lt;VariableTest&gt; ().VideoUrlStr = xml.Get (&quot;VideoUrl&quot;);

    }</code></pre></div><p>do i just ignore it? every happens that is suppose to happen.</p>]]></content>
			<author>
				<name><![CDATA[luke.carelsen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=117</uri>
			</author>
			<updated>2016-04-06T10:56:24Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=550#p550</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=549#p549" />
			<content type="html"><![CDATA[<p>Something like:</p><div class="codebox"><pre><code>public void ScanTable()
...
newGeox = FullTableResults [i].GeoX_Longitude.ToString();
marker = OnlineMaps.instance.AddMarker(new Vector2(FullTableResults [i].GeoX_Longitude, FullTableResults [i].GeoY_Latitude), null, FullTableResults [i].User_Name);
marker.customData = newGeox;</code></pre></div><div class="codebox"><pre><code>private void OnUpdateLate()
...
tooltip.GetComponent&lt;VariableTest&gt;().myId = (string)tooltipMarker.customData;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-04-06T10:53:13Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=549#p549</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=548#p548" />
			<content type="html"><![CDATA[<p>oh wait i got it right i put it in the wrong class;</p><div class="codebox"><pre><code>    private void ShowTooltip(OnlineMapsMarkerBase marker)
    {
        tooltipMarker = marker as OnlineMapsMarker;
        Debug.Log (&quot;Showing Tooltip&quot;);

        OnlineMapsXML xml = marker.customData as OnlineMapsXML;

        if (xml == null)
        {
            Debug.Log(&quot;The marker does not contain XML.&quot;);
            return;
        }

        // Show xml in console.
        Debug.Log(xml.outerXml);
        Debug.Log(xml.Get(&quot;ID&quot;));

        //myImage = tooltipPrefab.GetComponentInChildren&lt;RawImage&gt;.

        //tooltip.gameObject
    }</code></pre></div><p>thanks again for all your support</p>]]></content>
			<author>
				<name><![CDATA[luke.carelsen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=117</uri>
			</author>
			<updated>2016-04-06T10:09:26Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=548#p548</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=547#p547" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>Hello.<br />When you need to store one variable, just put it into customData.<br />When you need to store multiple variables, create a class with the required fields, and put instance into customData.</p></blockquote></div><p>Ok so we tried it and it still returns only the last number.</p><div class="codebox"><pre><code>private void OnUpdateLate()
    {
        if (tooltipMarker != null)
        {
            if (tooltip == null)
            {
                tooltip = Instantiate(tooltipPrefab);
                (tooltip.transform as RectTransform).SetParent(container.transform);
            }

            //Vector2 pos = new Vector2(rect.center.x, rect.yMin + 90);

            Vector2 screenPosition = OnlineMapsControlBase.instance.GetScreenPosition(tooltipMarker.position);
            screenPosition.y += tooltipMarker.height+60;
            Vector2 point;
            RectTransformUtility.ScreenPointToLocalPointInRectangle(container.transform as RectTransform, screenPosition, null, out point);
            (tooltip.transform as RectTransform).localPosition = point;
        


            tooltip.GetComponent&lt;VariableTest&gt;().myString = &quot;hello&quot;;

            OnlineMapsXML xml = marker.customData as OnlineMapsXML;

            if (xml == null)
            {
                Debug.Log(&quot;The marker does not contain XML.&quot;);
                return;
            }

            // Show xml in console.
            Debug.Log(xml.outerXml);
            Debug.Log(xml.Get(&quot;ID&quot;));

            //cloneplanet.GetComponent(NameOfFirstScript).degrees = 50/j;


        }
        else
        {
            DestroyImmediate(tooltip);
            tooltip = null;
        }
    }

    public void ScanTable(){
        authenticator ();
        Table.LoadTableAsync (_client, &quot;hwsh_user_data&quot;, (loadTableResult) =&gt;
        {
                var search = Context.ScanAsync&lt;hwsh_user_data&gt; (new ScanCondition (&quot;User_Video_URL&quot;, ScanOperator.IsNotNull));
            search.GetRemainingAsync (result =&gt;
            {
                if (result.Exception == null) {
                    FullTableResults = result.Result;
                    // Then to Loop through the data
                    for (int i = 0; i &lt; FullTableResults.Count; i++) {
                        //Do Stuff with the result list.
                        
                        Debug.Log (&quot;UserID: &quot;+ FullTableResults [i].Id + &quot; Username: &quot; + FullTableResults [i].User_Name +
                                   &quot; GeoX: &quot; + FullTableResults [i].GeoX_Longitude + &quot; GeoY: &quot; + FullTableResults [i].GeoY_Latitude +
                                   &quot; User Video: &quot; + FullTableResults [i].User_Video_URL);

                                newGeox = FullTableResults [i].GeoX_Longitude.ToString();

                                Debug.Log((&quot;GEO X = &quot;) +newGeox);
                                marker = OnlineMaps.instance.AddMarker(new Vector2(FullTableResults [i].GeoX_Longitude, FullTableResults [i].GeoY_Latitude), null, FullTableResults [i].User_Name);

                                OnlineMapsXML xml1 = new OnlineMapsXML(&quot;MarkerData&quot;);
                                xml1.Create(&quot;ID&quot;, FullTableResults [i].GeoX_Longitude.ToString());
                                marker.customData = xml1;

                                //tooltip.GetComponent&lt;VariableTest&gt;().myId = newGeox;
                                MakeToolTips();
                
                    
                        }
                            Debug.Log(&quot;Tooltip creation complete&quot;);
                } else {
                    Debug.Log (&quot;THIS IS WHAT YOU NEED TO LOOK AT!!! : &quot; + result.Exception.ToString ());

                }
                
            }, null);
        });

    
    }</code></pre></div><p>what am i missing here?</p>]]></content>
			<author>
				<name><![CDATA[luke.carelsen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=117</uri>
			</author>
			<updated>2016-04-06T09:54:09Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=547#p547</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=546#p546" />
			<content type="html"><![CDATA[<p>ok cool I&#039;m&nbsp; playing with your solution now. thanks</p>]]></content>
			<author>
				<name><![CDATA[luke.carelsen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=117</uri>
			</author>
			<updated>2016-04-06T09:38:21Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=546#p546</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=545#p545" />
			<content type="html"><![CDATA[<p>Hello.</p><p>You set newGeox in &quot;for&quot;, so in OnUpdateLate it always will have the last value.<br />If you want to store some data in the marker, use OnlineMapsMarkerBase.customData.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsMarkerBase.html#ab930373104779d37395023a199f29dc1">http://infinity-code.com/doxygen/online … a199f29dc1</a></p><p>When you need to store one variable, just put it into customData.<br />When you need to store multiple variables, create a class with the required fields, and put instance into customData.</p><p>Example:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/MarkerCustomDataExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-04-06T09:30:43Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=545#p545</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=544#p544" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>2. Fastest way:<br />Create a new script</p></blockquote></div><p>Hey alex</p><p>thanks for taking the time to address my question. We tried the script method but what happens is it changes all the values on all the tool tips to be the same. let me show you how i run through the code</p><div class="codebox"><pre><code>    public void ScanTable(){
        authenticator ();
        Table.LoadTableAsync (_client, &quot;hwsh_user_data&quot;, (loadTableResult) =&gt;
        {
                var search = Context.ScanAsync&lt;hwsh_user_data&gt; (new ScanCondition (&quot;User_Video_URL&quot;, ScanOperator.IsNotNull));
            search.GetRemainingAsync (result =&gt;
            {
                if (result.Exception == null) {
                    FullTableResults = result.Result;
                    // Then to Loop through the data
                    for (int i = 0; i &lt; FullTableResults.Count; i++) {
                        //Do Stuff with the result list.
                        
                        Debug.Log (&quot;UserID: &quot;+ FullTableResults [i].Id + &quot; Username: &quot; + FullTableResults [i].User_Name +
                                   &quot; GeoX: &quot; + FullTableResults [i].GeoX_Longitude + &quot; GeoY: &quot; + FullTableResults [i].GeoY_Latitude +
                                   &quot; User Video: &quot; + FullTableResults [i].User_Video_URL);

                                newGeox = FullTableResults [i].GeoX_Longitude.ToString();

                                Debug.Log((&quot;GEO X = &quot;) +newGeox);
                                marker = OnlineMaps.instance.AddMarker(new Vector2(FullTableResults [i].GeoX_Longitude, FullTableResults [i].GeoY_Latitude), null, FullTableResults [i].User_Name);

                                //tooltip.GetComponent&lt;VariableTest&gt;().myId = newGeox;
                                MakeToolTips();
                
                    
                        }
                            Debug.Log(&quot;Tooltip creation complete&quot;);
                } else {
                    Debug.Log (&quot;THIS IS WHAT YOU NEED TO LOOK AT!!! : &quot; + result.Exception.ToString ());

                }
                
            }, null);
        });

    
    }</code></pre></div><p>So above: we assign the new value to a public var (GeoX, which is actually our id, just used Geox for testing purposes for testing purposes) that we will convert to string and pass it to the other script with the code below.<br /></p><div class="codebox"><pre><code>    private void OnUpdateLate()
    {
        if (tooltipMarker != null)
        {
            if (tooltip == null)
            {
                tooltip = Instantiate(tooltipPrefab);
                (tooltip.transform as RectTransform).SetParent(container.transform);
            }

            //Vector2 pos = new Vector2(rect.center.x, rect.yMin + 90);

            Vector2 screenPosition = OnlineMapsControlBase.instance.GetScreenPosition(tooltipMarker.position);
            screenPosition.y += tooltipMarker.height+60;
            Vector2 point;
            RectTransformUtility.ScreenPointToLocalPointInRectangle(container.transform as RectTransform, screenPosition, null, out point);
            (tooltip.transform as RectTransform).localPosition = point;
        


            tooltip.GetComponent&lt;VariableTest&gt;().myString = &quot;hello&quot;;
            tooltip.GetComponent&lt;VariableTest&gt;().myId = newGeox;


        }
        else
        {
            DestroyImmediate(tooltip);
            tooltip = null;
        }
    }</code></pre></div><p>But the problem here is that it doesn&#039;t form part of the instance, or am i missing something here? Please advice.</p><p>Kind Regards</p>]]></content>
			<author>
				<name><![CDATA[luke.carelsen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=117</uri>
			</author>
			<updated>2016-04-06T09:10:57Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=544#p544</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=543#p543" />
			<content type="html"><![CDATA[<p>Hey Alex thank you so much for the tip I will try it first thing in the morning, just quickly skimmed it on my iPhone.</p><p>We tried creating script on the prefab before and then we just told the script to pass the variable that is on the prefab instance but that changed all the values and on all the marker tool tips. Maybe I just don&#039;t understand it. </p><p>Anyway thanks again will definitely sit down first thing in the morning and go through your suggestion!</p>]]></content>
			<author>
				<name><![CDATA[luke.carelsen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=117</uri>
			</author>
			<updated>2016-04-05T18:50:21Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=543#p543</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=542#p542" />
			<content type="html"><![CDATA[<p>Hello.</p><p>There are many ways to do this.</p><p>Just as an example:</p><p>1. Easiest way:<br />GetComponentsInChildren<br /><a href="http://docs.unity3d.com/ScriptReference/GameObject.GetComponentsInChildren.html">http://docs.unity3d.com/ScriptReference … ldren.html</a></p><p>2. Fastest way:<br />Create a new script<br /></p><div class="codebox"><pre><code>using UnityEngine;
using UnityEngine.UI;

public class MyTooltip : MonoBehaviour
{
    public Text line1;
    public Text line2;
    public Text line3;
    public Text line4;
}</code></pre></div><p>Add this script to tooltip prefab.</p><p>Example of use:<br /></p><div class="codebox"><pre><code>MyTooltip myTooltip = tooltip.GetComponent&lt;MyTooltip&gt;();
myTooltip.line1.text = &quot;Hello&quot;;
myTooltip.line2.text = &quot;World&quot;;</code></pre></div><p>There are many more ways to do this, but I think this will be enough.</p><p>P.S. FindGameObjectsWithTag is a static method.<br /><a href="http://docs.unity3d.com/ScriptReference/GameObject.FindGameObjectsWithTag.html">http://docs.unity3d.com/ScriptReference … thTag.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-04-05T18:44:47Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=542#p542</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=539#p539" />
			<content type="html"><![CDATA[<p>Hey Alex</p><p>Again thank you for code. could you please help me with another problem with our code.</p><p>We have a prefab with 4 text strings that loads as a tooltip. I would just like to know how its possible to pass the different values. currently in the sample its using GetComponentInChildren and this only sets the value for the first text object in the parent. We have tried doing it by tag and keep getting a&nbsp; error (UnityEngine.GameObject.FindGameObjectsWithTag(string)&#039; cannot be accessed with an instance reference, qualify it with a type name instead).</p><p>how can we solve this?</p><p>we are using it like this:</p><p>&nbsp; &nbsp; private void OnUpdateLate()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; if (tooltipMarker != null)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (tooltip == null)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tooltip = Instantiate(tooltipPrefab);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (tooltip.transform as RectTransform).SetParent(container.transform);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //Vector2 pos = new Vector2(rect.center.x, rect.yMin + 90);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Vector2 screenPosition = OnlineMapsControlBase.instance.GetScreenPosition(tooltipMarker.position);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; screenPosition.y += tooltipMarker.height+60;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Vector2 point;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RectTransformUtility.ScreenPointToLocalPointInRectangle(container.transform as RectTransform, screenPosition, null, out point);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (tooltip.transform as RectTransform).localPosition = point;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //tooltip.GetComponentInChildren&lt;Text&gt;().text = tooltipMarker.label;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tooltip.FindGameObjectsWithTag(&quot;User_Id&quot;);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DestroyImmediate(tooltip);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tooltip = null;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }</p><p>Could anyone please assist?</p>]]></content>
			<author>
				<name><![CDATA[luke.carelsen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=117</uri>
			</author>
			<updated>2016-04-05T14:08:20Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=539#p539</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=524#p524" />
			<content type="html"><![CDATA[<p>Hey Alex</p><p>That is exactly what i needed. i don&#039;t know how to thank you for taking the time to help me. as i am a bigger programmer. can&#039;t wait to show you what I&#039;ve come up with.</p><p>your a rock star!</p><p>Kind Regards</p>]]></content>
			<author>
				<name><![CDATA[luke.carelsen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=117</uri>
			</author>
			<updated>2016-03-30T10:36:20Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=524#p524</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=523#p523" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I hope I understood your question correctly.<br />Example attached.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-03-30T10:32:42Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=523#p523</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How to create a tooltip that acts like a button?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=522#p522" />
			<content type="html"><![CDATA[<p>Hey peeps</p><p>Im trying to create a tooltip that acts like a button. I&#039;m using the uGUICustomTooltipExample method, so my prefab is just a button in other words.</p><p>There are a couple of issues i need help with:</p><p>Firstly there is no on click function for the tooltip, how can i make that? this doesn&#039;t matter so much, because I&#039;m building for iOS, the hover works like a click on the phone.</p><p>Secondly, my button doesn&#039;t fire, as soon as i click on the button the tooltip(my button prefab) disappears.</p><p>Please if anyone can assist that would be awesome.</p><p>Kind Regards</p>]]></content>
			<author>
				<name><![CDATA[luke.carelsen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=117</uri>
			</author>
			<updated>2016-03-29T14:21:45Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=522#p522</id>
		</entry>
</feed>
