Fight Arena and enemys new Demon
This commit is contained in:
11
Assets/Scripts/NavMeshClearer.cs
Normal file
11
Assets/Scripts/NavMeshClearer.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.AI;
|
||||
|
||||
public class NavMeshClearer : MonoBehaviour
|
||||
{
|
||||
public void ClearNavMesh()
|
||||
{
|
||||
NavMesh.RemoveAllNavMeshData();
|
||||
Debug.Log("NavMesh zosta³ wyczyszczony!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user