mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
template fixes + more PartialEq impls
This commit is contained in:
@@ -637,7 +637,7 @@ impl Navmesh {
|
||||
|
||||
/// Navmesh agent is a "pathfinding unit" that performs navigation on a mesh. It is designed to
|
||||
/// cover most of simple use cases when you need to build and follow some path from point A to point B.
|
||||
#[derive(Visit, Clone, Debug)]
|
||||
#[derive(Visit, PartialEq, Clone, Debug)]
|
||||
#[visit(optional)]
|
||||
pub struct NavmeshAgent {
|
||||
path: Vec<Vector3<f32>>,
|
||||
|
||||
@@ -175,7 +175,7 @@ use fyrox::{
|
||||
pub use fyrox;
|
||||
|
||||
#[derive(Default, Visit, Reflect, Debug)]
|
||||
#[reflect(non_cloneable, type_uuid = "84a89ed3-796e-4592-92d6-d24c2db302c9")]
|
||||
#[reflect(non_cloneable, non_comparable, type_uuid = "84a89ed3-796e-4592-92d6-d24c2db302c9")]
|
||||
pub struct Game { }
|
||||
|
||||
impl Plugin for Game {
|
||||
@@ -719,7 +719,7 @@ use fyrox::{{
|
||||
plugin::error::GameResult
|
||||
}};
|
||||
|
||||
#[derive(Visit, Reflect, Default, Debug, Clone)]
|
||||
#[derive(Visit, Reflect, Default, Debug, PartialEq, Clone)]
|
||||
#[reflect(type_uuid = "{script_uuid}")]
|
||||
#[visit(optional)]
|
||||
pub struct {script_name} {{
|
||||
|
||||
Reference in New Issue
Block a user