예제 #1
0
 public void showMessageUi(string message)
 {
     messageUI.showMessges(new string[] { message });
 }
예제 #2
0
    /**
     * void OnCollisionEnter2D(Collision2D coll)
     * {
     *  Debug.Log(coll.gameObject.name);
     *  doClick();
     *
     * }
     * void OnMouseDown()
     *
     * {
     *
     *  if (!SystemUtil.IsTouchedUI())
     *  {
     *
     *      doClick();
     *
     *  }
     *
     *
     * }**/

    public override void doClick()
    {
        messageUI.showMessges(this.getClickMessage());
    }