Log in or register to post comments

Object on screen

November 8, 2019 - 4:24am #1

Hello, I need to know if there is any way to know by code if an object is loaded on the screen, my application detects the image target and by the start delay of each object, each object is displayed on different times, I need to know by code if an object is already shown on the screen or not, thanks

Object on screen

November 12, 2019 - 3:23am #2

Hi,

You could check if the GameObject is active or not. Active means that it will be definitely rendered in the scene.

code: If( GameObject.activeSelf)// https://docs.unity3d.com/ScriptReference/GameObject-activeSelf.html

Thank you.

Vuforia Engine Support

Log in or register to post comments