Optimize automatic navmesh rebuild in editor for navmesh relevant actors only
This commit is contained in:
@@ -18,6 +18,9 @@ namespace FlaxEditor.SceneGraph
|
||||
{
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override bool AffectsNavigation => true;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override bool RayCastSelf(ref RayCastData ray, out float distance, out Vector3 normal)
|
||||
{
|
||||
|
||||
@@ -78,6 +78,9 @@ namespace FlaxEditor.SceneGraph.Actors
|
||||
AddChildNode(new LinkNode(this, new Guid(bytes), false));
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override bool AffectsNavigation => true;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override bool RayCastSelf(ref RayCastData ray, out float distance, out Vector3 normal)
|
||||
{
|
||||
|
||||
@@ -16,5 +16,8 @@ namespace FlaxEditor.SceneGraph.Actors
|
||||
: base(actor)
|
||||
{
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override bool AffectsNavigation => true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,5 +15,8 @@ namespace FlaxEditor.SceneGraph.Actors
|
||||
: base(actor)
|
||||
{
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override bool AffectsNavigation => true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user