forked from MattRix/UnityDecompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOffMeshLinkData.cs
More file actions
75 lines (62 loc) · 1.05 KB
/
Copy pathOffMeshLinkData.cs
File metadata and controls
75 lines (62 loc) · 1.05 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
using System;
using System.Runtime.CompilerServices;
using UnityEngine.Scripting;
using UnityEngine.Scripting.APIUpdating;
namespace UnityEngine.AI
{
[MovedFrom("UnityEngine")]
public struct OffMeshLinkData
{
private int m_Valid;
private int m_Activated;
private int m_InstanceID;
private OffMeshLinkType m_LinkType;
private Vector3 m_StartPos;
private Vector3 m_EndPos;
public bool valid
{
get
{
return this.m_Valid != 0;
}
}
public bool activated
{
get
{
return this.m_Activated != 0;
}
}
public OffMeshLinkType linkType
{
get
{
return this.m_LinkType;
}
}
public Vector3 startPos
{
get
{
return this.m_StartPos;
}
}
public Vector3 endPos
{
get
{
return this.m_EndPos;
}
}
public OffMeshLink offMeshLink
{
get
{
return this.GetOffMeshLinkInternal(this.m_InstanceID);
}
}
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
internal extern OffMeshLink GetOffMeshLinkInternal(int instanceID);
}
}