I have made a fog with particle system and the particles are clearing out and revealing an object behind it.
The problem is that the particles starts running as soon as the application is being run, when I need it to start at the point when I scan the image target.
What kind of script do I need for this?
I use it like this. Script is attached to ImageTarget. There can be easier way on tutorials.
//Get Target Behaviour object
ImageTargetBehaviour = itbMain = this.GetComponent<ImageTargetBehaviour>();
if ((itbMain.CurrentStatus == TrackableBehaviour.Status.DETECTED) || (itbMain.CurrentStatus == TrackableBehaviour.Status.TRACKED))
{
//Invoke Target
}