Search Unity

ARKitCoachingOverlay events?

Discussion in 'AR' started by Numa, Sep 28, 2019.

  1. Numa

    Numa

    Joined:
    Oct 7, 2014
    Posts:
    100
    Hi,

    I'm trying to use the ARKitCoachingOverlay, based off the example provided in the ARFoundation Samples, but it doesn't look like the events are hooked up?
    specifically coachingOverlayViewWillActivate and coachingOverlayViewDidDeactivate
    For now I have to check the .coachingActive property every frame instead.

    Am I missing something or is just not part of the package yet?

    Also, it looks like if you don't set the overlay to ActivateAutomatically the overlay will never disappear even after completing its goal.

    Thanks!
     
    ninadpradhan and VadimPyrozhok like this.
  2. ninadpradhan

    ninadpradhan

    Joined:
    May 9, 2018
    Posts:
    9
    Last edited: Apr 24, 2020