Exemplo n.º 1
0
 public virtual void OnMouseUp(GameObject go)
 {
     if (go.tag == "text")
     {
         stanzaManager.OnMouseUp(go.GetComponent <TinkerText>());
     }
 }
Exemplo n.º 2
0
 public virtual void OnMouseUp(GameObject go)
 {
     if (go.tag == "text")
     {
         if (stanzaManager == null)
         {
             stanzaManager = GameObject.Find("StanzaManager").GetComponent <StanzaManager>();
         }
         if (stanzaManager != null)
         {
             stanzaManager.OnMouseUp(go.GetComponent <TinkerText>());
         }
     }
 }