#pragma once
#include"Header/GameComponentHeader.h"
namespace ButiEngine {
	class ShaderChecker :public GameComponent
	{
	public:
		ShaderChecker() {}

		void OnUpdate()override;
		std::string GetGameComponentName()override {
			return "ShaderChecker";
		}
		std::shared_ptr<GameComponent> Clone()override;
		template<class Archive>
		void serialize(Archive& archive)
		{
			archive(isActive);
			archive(changeSceneName);
		}

		void ShowGUI()override;
		void OnShowUI()override;
		void Start()override;
	private:
		std::string changeSceneName;
		bool isCameraControll;
		std::shared_ptr<GameObject> shp_gameObject;
		std::shared_ptr<GameObject> shp_camera;
	};

}
BUTI_REGIST_GAMECOMPONENT(ShaderChecker,true)
