forked from MattRix/UnityDecompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNavMeshLinkData.cs
More file actions
105 lines (91 loc) · 1.19 KB
/
Copy pathNavMeshLinkData.cs
File metadata and controls
105 lines (91 loc) · 1.19 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
using System;
namespace UnityEngine.AI
{
public struct NavMeshLinkData
{
private Vector3 m_StartPosition;
private Vector3 m_EndPosition;
private float m_CostModifier;
private int m_Bidirectional;
private float m_Width;
private int m_Area;
private int m_AgentTypeID;
public Vector3 startPosition
{
get
{
return this.m_StartPosition;
}
set
{
this.m_StartPosition = value;
}
}
public Vector3 endPosition
{
get
{
return this.m_EndPosition;
}
set
{
this.m_EndPosition = value;
}
}
public float costModifier
{
get
{
return this.m_CostModifier;
}
set
{
this.m_CostModifier = value;
}
}
public bool bidirectional
{
get
{
return this.m_Bidirectional != 0;
}
set
{
this.m_Bidirectional = ((!value) ? 0 : 1);
}
}
public float width
{
get
{
return this.m_Width;
}
set
{
this.m_Width = value;
}
}
public int area
{
get
{
return this.m_Area;
}
set
{
this.m_Area = value;
}
}
public int agentTypeID
{
get
{
return this.m_AgentTypeID;
}
set
{
this.m_AgentTypeID = value;
}
}
}
}