int targetIndex = 0; // "stones" if (!strcmp(trackable.getName(), "chips")) targetIndex = 1; else if (!strcmp(trackable.getName(), "tarmac")) targetIndex = 2;
int textureIndex = trackable.getName().equalsIgnoreCase("stones") ? 0: 1;
3,220
社区成员
5,792
社区内容
加载中
试试用AI创作助手写篇文章吧