protected virtual void Start()
    {
        UIOrthoCamera componentInChildren = base.GetComponentInChildren <UIOrthoCamera>();

        if (componentInChildren != null)
        {
            Debug.LogWarning("UIRoot should not be active at the same time as UIOrthoCamera. Disabling UIOrthoCamera.", componentInChildren);
            Camera component = componentInChildren.get_gameObject().GetComponent <Camera>();
            componentInChildren.set_enabled(false);
            if (component != null)
            {
                component.set_orthographicSize(1f);
            }
        }
        else
        {
            this.Update();
        }
    }
    protected virtual void Start()
    {
        //IL_001f: Unknown result type (might be due to invalid IL or missing references)
        UIOrthoCamera componentInChildren = this.GetComponentInChildren <UIOrthoCamera>();

        if (componentInChildren != null)
        {
            Debug.LogWarning((object)"UIRoot should not be active at the same time as UIOrthoCamera. Disabling UIOrthoCamera.", componentInChildren);
            Camera component = componentInChildren.get_gameObject().GetComponent <Camera>();
            componentInChildren.set_enabled(false);
            if (component != null)
            {
                component.set_orthographicSize(1f);
            }
        }
        else
        {
            UpdateScale(false);
        }
    }