ARCameraPostProcess.OnEnable C# (CSharp) Метод

OnEnable() приватный Метод

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
Результат void
    private void OnEnable()
    {
        m_arScreenMaterial.EnableKeyword("DISTORTION_ON");
    }