UMassEntitySubsystem::ReserveEntity

Reserves an entity in the subsystem, the entity is still not ready to be used by the subsystem, need to call [BuildEntity()](API\Plugins\MassEntity\UMassEntitySubsystem\BuildEntity\1)

Choose your operating system:

Windows

macOS

Linux

References

Module

MassEntity

Header

/Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassEntitySubsystem.h

Include

#include "MassEntitySubsystem.h"

Source

/Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Private/MassEntitySubsystem.cpp

Syntax

FMassEntityHandle ReserveEntity()

Remarks

Reserves an entity in the subsystem, the entity is still not ready to be used by the subsystem, need to call BuildEntity()

Returns

FMassEntityHandle id of the reserved entity