28 lines
475 B
C++
28 lines
475 B
C++
// Precompiled Headers
|
|
#include "SHpch.h"
|
|
// Primary Header
|
|
#include "Canvas.hxx"
|
|
#include "Assets/NativeAsset.hxx"
|
|
#include "Utility/Convert.hxx"
|
|
#include "Utility/Debug.hxx"
|
|
|
|
|
|
#include "ECS_Base/Managers/SHSystemManager.h"
|
|
#include "UI/SHUISystem.h"
|
|
|
|
|
|
namespace SHADE
|
|
{
|
|
Canvas::Canvas(Entity entity)
|
|
: Component(entity)
|
|
{}
|
|
|
|
void Canvas::DeactivateAllCanvas()
|
|
{
|
|
auto system = SHSystemManager::GetSystem<SHUISystem>();
|
|
system->HideActiveCanvas();
|
|
}
|
|
|
|
|
|
}
|