ARCameraPostProcess.OnEnable C# (CSharp) Method

OnEnable() private method

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
return void
    private void OnEnable()
    {
        m_arScreenMaterial.EnableKeyword("DISTORTION_ON");
    }