xLua
xLua copied to clipboard
xlua访问脚本this.gameObject.transform.position.x报错attempt to index a userdata value (field 'xxx')
报错的Lua脚本方法
_self是脚本的this
只要访问position和rotation都会包这种错