0
嗨,所以我想创建一个if语句,如果...如果精灵已被触摸...然后会发生一些事情预期标识符错误?
但是,由于某种原因,我得到一个预期的识别错误,不能为我的生活弄清楚为什么?
感谢您的帮助和知识,您可以提供meKKInput* input = [KKInput sharedInput];
KKInput* input = [KKInput sharedInput];
if([input isAnyTouchOnNode:kan touchPhase:[KKTouchPhaseAny]])
{
for (int x = 105.0f; x < 100000 ; ++x)
{
for (int y = 50.0f; y < 100000 ; ++y)
{
kan.position = CGPointMake((x),(y));
}
}
}
请在问题本身中提及错误。 – 2012-08-10 20:32:04
我做过了吗?预期标识符错误? – user1591257 2012-08-10 20:57:39