Skip to content

Error in Unity 2019 #1

Description

@davidjahan

The Unity3D errors on GUILayer component, announcing GUILayer is deprecated .
The Solution: Just change GUILayer in both lines in AnaglyphizerC.cs to Image as the following:

using UnityEngine.UI;
...
// Code Added by esimple adding GUI LAYER to dynamic camera
leftEye.AddComponent<GUILayer>(); --> leftEye.AddComponent<Image>();
rightEye.AddComponent<GUILayer>(); --> rightEye.AddComponent<Image>();
...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions