forked from hunterzonewu/unity-decompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnchoredJoint2D.cs
More file actions
71 lines (63 loc) · 2.17 KB
/
AnchoredJoint2D.cs
File metadata and controls
71 lines (63 loc) · 2.17 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
// Decompiled with JetBrains decompiler
// Type: UnityEngine.AnchoredJoint2D
// Assembly: UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: A8FF7A2C-E4EE-4232-AB17-3FCABEC16496
// Assembly location: C:\Users\Blake\sandbox\unity\test-project\Library\UnityAssemblies\UnityEngine.dll
using System.Runtime.CompilerServices;
namespace UnityEngine
{
/// <summary>
/// <para>Parent class for all joints that have anchor points.</para>
/// </summary>
public class AnchoredJoint2D : Joint2D
{
/// <summary>
/// <para>The joint's anchor point on the object that has the joint component.</para>
/// </summary>
public Vector2 anchor
{
get
{
Vector2 vector2;
this.INTERNAL_get_anchor(out vector2);
return vector2;
}
set
{
this.INTERNAL_set_anchor(ref value);
}
}
/// <summary>
/// <para>The joint's anchor point on the second object (ie, the one which doesn't have the joint component).</para>
/// </summary>
public Vector2 connectedAnchor
{
get
{
Vector2 vector2;
this.INTERNAL_get_connectedAnchor(out vector2);
return vector2;
}
set
{
this.INTERNAL_set_connectedAnchor(ref value);
}
}
/// <summary>
/// <para>Should the connectedAnchor be calculated automatically?</para>
/// </summary>
public bool autoConfigureConnectedAnchor { [WrapperlessIcall, MethodImpl(MethodImplOptions.InternalCall)] get; [WrapperlessIcall, MethodImpl(MethodImplOptions.InternalCall)] set; }
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
private void INTERNAL_get_anchor(out Vector2 value);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
private void INTERNAL_set_anchor(ref Vector2 value);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
private void INTERNAL_get_connectedAnchor(out Vector2 value);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
private void INTERNAL_set_connectedAnchor(ref Vector2 value);
}
}