when i test it in the computer…it worked…but when i install the apps on the android it never worked…this is my code…is it for android has to use another code or what??
function OnTriggerEnter(collisionInfo : Collider){
if(collisionInfo.gameObject.tag == “heart”){
Destroy(collisionInfo.gameObject);
}
}