static public int GetWordAtPosition(IntPtr l)
{
try {
int argc = LuaDLL.lua_gettop(l);
if (matchType(l, argc, 2, typeof(UnityEngine.Vector2)))
{
UILabel self = (UILabel)checkSelf(l);
UnityEngine.Vector2 a1;
checkType(l, 2, out a1);
var ret = self.GetWordAtPosition(a1);
pushValue(l, true);
pushValue(l, ret);
return(2);
}
else if (matchType(l, argc, 2, typeof(UnityEngine.Vector3)))
{
UILabel self = (UILabel)checkSelf(l);
UnityEngine.Vector3 a1;
checkType(l, 2, out a1);
var ret = self.GetWordAtPosition(a1);
pushValue(l, true);
pushValue(l, ret);
return(2);
}
pushValue(l, false);
LuaDLL.lua_pushstring(l, "No matched override function to call");
return(2);
}
catch (Exception e) {
return(error(l, e));
}
}