早教吧 育儿知识 作业答案 考试题库 百科 知识分享

lua编程中if并列循环怎么写?让下面3个if颜色判断并列进行.1成立点击,不成立不点;2成立点击,不成立不点.无论成立与否,都继续进行下面的判断.实在不知道如何改了.if(isColor(212,605,0x7B20D6)andi

题目详情
lua编程中if并列循环怎么写?
让下面3个if颜色判断并列进行.1成立点击,不成立不点;2成立点击,不成立不点.无论成立与否,都继续进行下面的判断.实在不知道如何改了.
if (isColor(212,605,0x7B20D6) and
isColor(133,605,0xFF4908) and
isColor(53,608,0xF7CB08)) then
return touchClick(363,636)
else
end
if (isColor(272,668,0xFFDF39) and
isColor(201,724,0xEFBB6C) and
isColor(95,620,0x0092F7)) then
return touchClick(113,667)
else
end
if (isColor(109,197,0xB57910) and
isColor(106,402,0xC62021) and
isColor(110,606,0xA50CB5)) then
return touchClick(168,401)
else
end
▼优质解答
答案和解析
不返回就是啦. if (isColor(212,605, 0x7B20D6) and isColor(133,605, 0xFF4908) and isColor(53,608, 0xF7CB08)) then touchClick(363,636) elseend if (isColor(272,668, 0xFFDF39) and...
看了lua编程中if并列循环怎么写...的网友还看了以下: