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