﻿namespace UnityEngine
{
    using System.Runtime.CompilerServices;

    public sealed class GUILayer : Behaviour
    {
        public GUIElement HitTest(Vector3 screenPosition)
        {
            return INTERNAL_CALL_HitTest(this, ref screenPosition);
        }

        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]
        private static extern GUIElement INTERNAL_CALL_HitTest(GUILayer self, ref Vector3 screenPosition);
    }
}

