ARCameraPostProcess.OnEnable C# (CSharp) Méthode

OnEnable() private méthode

Unity OnEnable callback. The distortion post process will be turned on after this script is enabled, at the same time, we need to change the distortion flag in AR Screen shader to true as well.
private OnEnable ( ) : void
Résultat void
    private void OnEnable()
    {
        m_arScreenMaterial.EnableKeyword("DISTORTION_ON");
    }