假设您有一个iOS的低级统一插件,
所以在c#
using System.Runtime.InteropServices;
using AOT;
public class Teste: MonoBehaviour {
[DllImport("__Internal")] private static extern
void set_texture_from_unity(System.IntPtr texture, int w, int h);
有一个纹理,.Apply() it,然后发送指向本机iOS插件的指针:
public void ClickPas
我在地面上有一片草地。在unity编辑器中,在“编辑”-“图形仿真”中有opengl 1.1和opengl 2.0选项。当我将其设置为2.0时,grass显示良好。但是一旦我设置到opengl es 1.1,grass就消失了。这是可以的。但现在,我正在尝试为我的iPad构建它:在播放器设置中,我将armv7 platform设置为仅限iPad。我的iPad上看不到草。我做错什么了吗?我所需要的就是在iPad上显示grass :没有更好的opengl版本。从xCode日志:" version : OpenGL ES 2.0 IMGSGX543-63.24",所以,openGL版