我正在制作一个滚动的ui面板并将遮罩应用于ScrollRect组件,该组件应隐藏面板区域外的部件.我正在使用统一版本5.4.2f2-GVR.当我在谷歌像素设备上部署它无法正常工作时,屏幕在PC上正常工作.这是统一版本或其他的错误....
android unity-game-engine daydream virtual-reality google-vr
SpriteBatch batcher = new SpriteBatch();
batcher.draw(TextureRegion region,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation)
Run Code Online (Sandbox Code Playgroud)
是什么意思originX,originY,scaleX,scaleY,rotation?你也可以给我一个他们使用的例子吗?