private void OnEnable()
    {
        this.SetVisibility(LegionfallData.HasAccess());
        PinchZoomContentManager pinchZoomManager = this.m_pinchZoomManager;

        pinchZoomManager.ZoomFactorChanged = (Action <bool>)Delegate.Combine(pinchZoomManager.ZoomFactorChanged, new Action <bool>(this.OnZoomChanged));
        Main instance = Main.instance;

        instance.ContributionInfoChangedAction = (Action)Delegate.Combine(instance.ContributionInfoChangedAction, new Action(this.HandleContributionInfoChanged));
    }
 private void HandleContributionInfoChanged()
 {
     this.SetVisibility(LegionfallData.HasAccess());
 }