示例#1
0
 public virtual void OnMouseUp(GameObject go)
 {
     if (go.tag == "text")
     {
         stanzaManager.OnMouseUp(go.GetComponent <TinkerText>());
     }
 }
示例#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>());
         }
     }
 }