Registry / other / bevy-core

bevy-core

JSON →
library0.15.3rscratesunverified

Provides core functionality for Bevy Engine.

# Cargo.toml [dependencies] bevy_core = "0.15.3"
INSTALL
IMPORT
SIG · BEVY-CORE
B
bevy-core
otherrustv0.15.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Name
use bevy_core::Name;

Spawn an entity with a Name component using Bevy Core.

use bevy_core::Name; use bevy_ecs::prelude::*; fn main() { let mut world = World::new(); let entity = world.spawn((Name::new("Player"),)).id(); let name = world.entity(entity).get::<Name>().unwrap(); println!("Entity name: {}", name); }
Debug
Known issues
gotchaRequires the `bevy_ecs` crate for World and Entity usage.
fix
Add `bevy_ecs` as a dependency.
affects: >=0.15.0
Upgrade
Version history
0.15.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
19
Meta
2
OpenAI (training)
1
Resources
bevy-core — cargo add bevy-core · libregistry