scripts
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using UnityEngine.Internal;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x02000067 RID: 103
|
||||
[RequireComponent(typeof(Transform))]
|
||||
public class GUIElement : Behaviour
|
||||
{
|
||||
// Token: 0x060007C8 RID: 1992 RVA: 0x0000A340 File Offset: 0x00008540
|
||||
public bool HitTest(Vector3 screenPosition, [DefaultValue("null")] Camera camera)
|
||||
{
|
||||
return GUIElement.INTERNAL_CALL_HitTest(this, ref screenPosition, camera);
|
||||
}
|
||||
|
||||
// Token: 0x060007C9 RID: 1993 RVA: 0x0000A360 File Offset: 0x00008560
|
||||
[ExcludeFromDocs]
|
||||
public bool HitTest(Vector3 screenPosition)
|
||||
{
|
||||
Camera camera = null;
|
||||
return GUIElement.INTERNAL_CALL_HitTest(this, ref screenPosition, camera);
|
||||
}
|
||||
|
||||
// Token: 0x060007CA RID: 1994
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern bool INTERNAL_CALL_HitTest(GUIElement self, ref Vector3 screenPosition, Camera camera);
|
||||
|
||||
// Token: 0x060007CB RID: 1995 RVA: 0x0000A380 File Offset: 0x00008580
|
||||
public Rect GetScreenRect([DefaultValue("null")] Camera camera)
|
||||
{
|
||||
Rect rect;
|
||||
GUIElement.INTERNAL_CALL_GetScreenRect(this, camera, out rect);
|
||||
return rect;
|
||||
}
|
||||
|
||||
// Token: 0x060007CC RID: 1996 RVA: 0x0000A3A0 File Offset: 0x000085A0
|
||||
[ExcludeFromDocs]
|
||||
public Rect GetScreenRect()
|
||||
{
|
||||
Camera camera = null;
|
||||
Rect rect;
|
||||
GUIElement.INTERNAL_CALL_GetScreenRect(this, camera, out rect);
|
||||
return rect;
|
||||
}
|
||||
|
||||
// Token: 0x060007CD RID: 1997
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void INTERNAL_CALL_GetScreenRect(GUIElement self, Camera camera, out Rect value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user