getting to know if an object has been detected in vuforia unity
int a;
int b;
public void count(int imageTargetNumber)
{
switch (imageTargetNumber) {
case 0:
a++;
Debug.Log(a);
break;
case 1:
b++;
Debug.Log(b);
break;
}
}