public void showMessageUi(string message) { messageUI.showMessges(new string[] { message }); }
/** * void OnCollisionEnter2D(Collision2D coll) * { * Debug.Log(coll.gameObject.name); * doClick(); * * } * void OnMouseDown() * * { * * if (!SystemUtil.IsTouchedUI()) * { * * doClick(); * * } * * * }**/ public override void doClick() { messageUI.showMessges(this.getClickMessage()); }