blob: 4c71bafb4fc49ac27e30670d653b66a1d3d1c6ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
C++RAW
#include "UnityPrefix.h"
#include "Configuration/UnityConfigure.h"
#include "Runtime/Mono/MonoBehaviour.h"
#include "Runtime/NavMesh/NavMeshObstacle.h"
#include "Runtime/Scripting/ScriptingUtility.h"
#include "Runtime/Scripting/ScriptingExportUtility.h"
CSRAW
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnityEngine
{
// Navigation mesh obstacle.
CLASS NavMeshObstacle : Behaviour
// Obstacle height.
AUTO_PROP float height GetHeight SetHeight
// Obstacle radius.
AUTO_PROP float radius GetRadius SetRadius
// Obstacle velocity.
AUTO_PROP Vector3 velocity GetVelocity SetVelocity
CONDITIONAL ENABLE_NAVMESH_CARVING
AUTO_PROP bool carving GetCarving SetCarving
CONDITIONAL ENABLE_NAVMESH_CARVING
AUTO_PROP float carvingMoveThreshold GetMoveThreshold SetMoveThreshold
END
CSRAW }
|