We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fa16bf commit 3bcdbc2Copy full SHA for 3bcdbc2
crates/bevy_entropy/src/plugin.rs
@@ -16,11 +16,12 @@ use crate::component::EntropyComponent;
16
/// use bevy_app::App;
17
/// use bevy_entropy::prelude::*;
18
/// use rand_core::RngCore;
19
-/// use rand_chacha::ChaCha8Rng;
+/// use rand_chacha::{ChaCha8Rng, ChaCha12Rng};
20
///
21
/// fn main() {
22
/// App::new()
23
/// .add_plugin(EntropyPlugin::<ChaCha8Rng>::default())
24
+/// .add_plugin(EntropyPlugin::<ChaCha12Rng>::default())
25
/// .add_system(print_random_value)
26
/// .run();
27
/// }
@@ -82,8 +83,4 @@ where
82
83
app.init_resource::<GlobalEntropy<R>>();
84
}
85
-
86
- fn is_unique(&self) -> bool {
87
- false
88
- }
89
0 commit comments