Michał Gniadek
b462ba4465
Register unit type alongside the other primitives ( #21298 )
...
# Objective
Primitive types are automatically registered when a `TypeRegistry` is
created, except for unit type `()`.
## Solution
Register `()` alongside other primitives.
## Testing
Run tests in `bevy_reflect`, tested with my code that `()` is being
registered.
2025-10-01 00:17:23 +02:00
..
2025-10-01 00:17:23 +02:00
2025-09-30 07:51:01 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-09-30 07:51:01 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-09-30 07:51:01 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-09-30 07:51:01 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-09-30 07:51:01 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-09-30 07:51:01 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-09-30 07:51:01 +02:00
2025-10-01 00:17:23 +02:00
2025-09-30 07:51:01 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-09-30 07:51:01 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-09-30 07:51:01 +02:00
2025-09-30 07:51:01 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-09-30 07:51:01 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-09-30 07:51:01 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00
2025-10-01 00:17:23 +02:00