diff --git a/examples/custom_shader.rs b/examples/custom_shader.rs index 193ebdd0..3c37a7d6 100644 --- a/examples/custom_shader.rs +++ b/examples/custom_shader.rs @@ -1,13 +1,8 @@ -use bevy::{ - prelude::*, - reflect::{TypePath, TypeUuid}, - render::render_resource::AsBindGroup, -}; +use bevy::{prelude::*, reflect::TypePath, render::render_resource::AsBindGroup}; use bevy_ecs_tilemap::prelude::*; mod helpers; -#[derive(AsBindGroup, TypeUuid, TypePath, Debug, Clone, Default, Asset)] -#[uuid = "31575692-a956-4762-98e2-5d457f552d0a"] +#[derive(AsBindGroup, TypePath, Debug, Clone, Default, Asset)] pub struct MyMaterial { #[uniform(0)] brightness: f32, diff --git a/src/render/material.rs b/src/render/material.rs index 7a432300..b8d535d6 100644 --- a/src/render/material.rs +++ b/src/render/material.rs @@ -1,7 +1,7 @@ use bevy::{ core_pipeline::core_2d::Transparent2d, prelude::*, - reflect::{TypePath, TypeUuid}, + reflect::TypePath, render::{ extract_component::ExtractComponentPlugin, globals::GlobalsBuffer, @@ -523,8 +523,7 @@ pub fn queue_material_tilemap_meshes( } } -#[derive(AsBindGroup, TypeUuid, Debug, Clone, Default, TypePath, Asset)] -#[uuid = "d6f8aeb8-510c-499a-9c0b-38551ae0b72a"] +#[derive(AsBindGroup, Debug, Clone, Default, TypePath, Asset)] pub struct StandardTilemapMaterial {} impl MaterialTilemap for StandardTilemapMaterial {}