add bevy_derive to prelude
This commit is contained in:
		
							parent
							
								
									5d893a83f2
								
							
						
					
					
						commit
						c6d7402318
					
				| @ -1,7 +1,5 @@ | ||||
| use bevy::prelude::*; | ||||
| 
 | ||||
| use bevy_derive::Uniforms; | ||||
| 
 | ||||
| #[derive(Uniforms, Default)] | ||||
| struct MyMaterial { | ||||
|     pub color: Color, | ||||
|  | ||||
| @ -9,7 +9,6 @@ crate-type = ["cdylib"] | ||||
| 
 | ||||
| [dependencies] | ||||
| bevy = { path = "../../../../bevy" } | ||||
| bevy_derive = { path = "../../../bevy_derive" } | ||||
| 
 | ||||
| [profile.release] | ||||
| debug = true | ||||
| @ -1,5 +1,4 @@ | ||||
| use bevy::{prelude::*, plugin::AppPlugin}; | ||||
| use bevy_derive::RegisterAppPlugin; | ||||
| 
 | ||||
| #[derive(RegisterAppPlugin)] | ||||
| pub struct ExamplePlugin; | ||||
|  | ||||
| @ -13,4 +13,4 @@ pub mod ui; | ||||
| pub use bevy_transform as transform; | ||||
| pub use glam as math; | ||||
| pub use legion; | ||||
| pub use once_cell; | ||||
| pub use once_cell; | ||||
| @ -24,3 +24,4 @@ pub use legion::{ | ||||
|     }, | ||||
| }; | ||||
| pub use math::{Mat3, Mat4, Quat, Vec2, Vec3, Vec4}; | ||||
| pub use bevy_derive::*; | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Carter Anderson
						Carter Anderson