Ejemplo n.º 1
0
        public void BuildTiles()
        {
            NavMeshBuildSettings buildSettings = NavMeshBuildSettings.Default();
            NavAgentSettings     agentSettings = NavAgentSettings.Default();
            NavMeshBuilder       builder       = new NavMeshBuilder(buildSettings, agentSettings);

            NavMeshTestData data = NavMeshTestData.Load();

            data.GetInputData(out float3[] vertices, out int[] indices);

            NavMeshInputBuilder input = new NavMeshInputBuilder(default);
Ejemplo n.º 2
0
        public void BuildTiles()
        {
            NavMeshBuildSettings buildSettings = NavMeshBuildSettings.Default();
            NavAgentSettings     agentSettings = NavAgentSettings.Default();
            NavMeshBuilder       builder       = new NavMeshBuilder(buildSettings, agentSettings);

            NavMeshTestData data = NavMeshTestData.Load();

            data.GetInputData(out float3[] vertices, out int[] indices);
            GameLogger.Log("BuildTiles Inputs Vertices:{0} Triangles{1}", vertices.Length, indices.Length);

            NavMeshInputBuilder input = new NavMeshInputBuilder(default);