ECSM v0.7.0
Entity Component System Manager
Loading...
Searching...
No Matches
DoNotDestroyComponent Struct Reference

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.