Hi,
I am having problem with getting OnMouseDown and OnMouseEvent for TK2DSprite that have mesh collider. But, it works fine for TK2DSprite with box collider implemented.
My question is how do I get OnMouseDown event to works for sprite that implement mesh collider. Thank you
Some of my codes below:
using UnityEngine;
using System.Collections;
public class Crate : MonoBehaviour {
void OnMouseDown() {
Debug.Log("MouseDown");
}
void OnMouseUp() {
Debug.Log("MouseUp");
}
}