Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::prefab_id_component Struct Reference

Component that provides a unique identifier (UUID) for a prefab. More...

#include <prefab_component.h>

Public Member Functions

void regenerate_id ()
 
void generate_if_nil ()
 

Public Attributes

hpp::uuid id
 The unique identifier for the entity.
 

Detailed Description

Component that provides a unique identifier (UUID) for a prefab.

Definition at line 116 of file prefab_component.h.

Member Function Documentation

◆ generate_if_nil()

void unravel::prefab_id_component::generate_if_nil ( )
inline

Definition at line 123 of file prefab_component.h.

◆ regenerate_id()

void unravel::prefab_id_component::regenerate_id ( )
inline

Definition at line 118 of file prefab_component.h.

Member Data Documentation

◆ id

hpp::uuid unravel::prefab_id_component::id

The unique identifier for the entity.

Definition at line 133 of file prefab_component.h.


The documentation for this struct was generated from the following file: