void OnEnable()
        {
            _originFOV = modelCamera.fieldOfView;

            GameObject modelGo = (GameObject)GameObject.Find(modelName);

            if (modelGo == null)
            {
                Debug.LogError("Cannot find GameObject named after '" + modelName + "'");
            }
            else
            {
                _modelTrans = modelGo.transform;
            }

            if (_modelTrans.renderer != null)
            {
                float width  = _modelTrans.renderer.bounds.size.x;
                float height = _modelTrans.renderer.bounds.size.y;

                Debug.Log(width);
                while (width > viewSizeMax || height > viewSizeMax)
                {
                    Vector3 scale = _modelTrans.localScale;
                    scale *= 0.5f;
                    _modelTrans.localScale = scale;
                    width  *= 0.5f;
                    height *= 0.5f;
                }

                while (width < viewSizeMin || height < viewSizeMin)
                {
                    Vector3 scale = _modelTrans.localScale;
                    scale *= 2;
                    _modelTrans.localScale = scale;
                    width  *= 2f;
                    height *= 2f;
                }
            }

            if (!_preserveModelData)
            {
                _modelData = new ModelData();
                _helper    = GetComponent <ViewModelInputsHelper>();
                _helper.UpdateInputsData(_modelData);
            }
        }
		void OnEnable () {
			_originFOV = modelCamera.fieldOfView;

			GameObject modelGo = (GameObject) GameObject.Find(modelName);
			if (modelGo == null) {
				Debug.LogError("Cannot find GameObject named after '" + modelName + "'");
			}
			else {
				_modelTrans = modelGo.transform;
			}

			if (_modelTrans.renderer != null) {
				float width = _modelTrans.renderer.bounds.size.x;
				float height = _modelTrans.renderer.bounds.size.y;

				Debug.Log(width);
				while (width > viewSizeMax || height > viewSizeMax) {
					Vector3 scale = _modelTrans.localScale;
					scale *= 0.5f;
					_modelTrans.localScale = scale;
					width *= 0.5f;
					height *= 0.5f;
				}

				while (width < viewSizeMin || height < viewSizeMin) {
					Vector3 scale = _modelTrans.localScale;
					scale *= 2;
					_modelTrans.localScale = scale;
					width *= 2f;
					height *= 2f;
				}
			}

			if (!_preserveModelData) {
				_modelData = new ModelData();
				_helper = GetComponent<ViewModelInputsHelper>();
				_helper.UpdateInputsData(_modelData);
			}
		}