ECSM v0.2.0
DoNotDestroyComponent

Component indicating that this entity should not be destroyed. More...

#include <ecsm.hpp>

Public Member Functions

ID< EntitygetEntity () const noexcept
 Returns component entity instance.
 

Protected Attributes

ID< Entityentity = {}
 

Detailed Description

Component indicating that this entity should not be destroyed.

Useful in cases when we need to mark important entities like main camera.