UnityGame/Library/PackageCache/com.unity.ai.navigation/Tests/Runtime/NavMeshSurfaceBuildFromAwake.cs
2024-10-27 10:53:47 +03:00

16 lines
276 B
C#

using UnityEngine;
namespace Unity.AI.Navigation.Tests
{
[DefaultExecutionOrder(-1)]
class NavMeshSurfaceBuildFromAwake : MonoBehaviour
{
public NavMeshSurface surface;
void Awake()
{
surface.BuildNavMesh();
}
}
}