Attach it to your TrackedImage game objects. To write code that responds to the target appearing/disappearing, just include the following two functions in your MonoBehaviour.
void OnTrackingFound() {
//code that runs when the target appears goes here
}void OnTrackingLost() {
//code that runs when the target disappears goes here
}You can download it here
No comments:
Post a Comment