summaryrefslogtreecommitdiff
path: root/engine-ecs/src/component.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-07-09 01:54:02 +0200
committerHampusM <hampus@hampusmat.com>2026-07-09 01:54:02 +0200
commitf193d6222ba7572be733d53630f22191c0506c80 (patch)
tree467d265e2f5c048960a00099131bf0f1f8d32604 /engine-ecs/src/component.rs
parenteecf733d513a688ffcc4d9280e8965a7c2b6c49a (diff)
feat(engine-ecs): create component info entity for components without type reflection
Diffstat (limited to 'engine-ecs/src/component.rs')
-rw-r--r--engine-ecs/src/component.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine-ecs/src/component.rs b/engine-ecs/src/component.rs
index aee4904..30869b5 100644
--- a/engine-ecs/src/component.rs
+++ b/engine-ecs/src/component.rs
@@ -370,7 +370,7 @@ impl Default for PartsBuilder
#[non_exhaustive]
pub struct Info
{
- pub type_reflection: &'static crate::reflection::Type,
+ pub type_reflection: Option<&'static crate::reflection::Type>,
pub ty_id: TypeId,
pub name: &'static str,
}