Search Unity

Question Blink System

Discussion in 'XR Interaction Toolkit and Input' started by rmcs87_unity, Jan 25, 2021.

  1. rmcs87_unity

    rmcs87_unity

    Joined:
    Mar 7, 2019
    Posts:
    2
    Hi.

    I'm trying to add the Blink Effect (fade in/out) to the teleport system. Anyone knows if it is supported by the Unity XR Interaction (like in other SDKs)?
     
  2. wannabevr_developer

    wannabevr_developer

    Joined:
    Feb 3, 2021
    Posts:
    9
    You can just put a black canvas in front of the camera then fade the alpha in and out on demand.
     
  3. chris-massie

    chris-massie

    Unity Technologies

    Joined:
    Jun 23, 2020
    Posts:
    231
    You should be able to override the Update method of
    TeleportationProvider
    to add your calls to do some kind of fade in/out implementation when the
    currentRequest
    is set. Using a canvas in front of the camera or a shader to black out are possibilities, but we don't have any kind of example of this currently in the package.