This seems like a very simple question, but I cannot find the answer anywhere. I am making a game using the Sprite Kit, and I would like to count the number of SKNodes that I am currently on the screen. I can see the account in the lower right corner in my debugging information, but I'm not sure how to access it as an integer that I can use for programming. Any suggestions?
Apple docs say: "The SKScene object represents the content scene in the sprite set. The scene is the root of the node in the Sprite Kit node tree ..."
, SKScene, , .
NSLog(@"%lu", (unsigned long)[self.children count]);
Source: https://habr.com/ru/post/1537414/More articles:Setting up Elmah.MVC - c #Есть ли источник для реальных примеров Spring и Hibernate? - javaUsing && as a substitute for an IF statement - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1537412/androidtestcase-fails-to-find-resource-of-test-project-when-executed-via-maven&usg=ALkJrhgXQ0uBQjyPdL8Nozc6-17SfryTCAKivy Touch Screen for Raspberry Pi - raspberry-piAttempt to protect all aspx files in a folder protected by IP address - securityAndroid Studio: "JVM installation not found. Install 32-bit JDK", - javaJava Jaxb: unexpected element (uri: ", local:" Create "). Expected elements: <{} Create> - javaCompiler / assignment functions created by the compiler for classes with reference and constant members - c ++"Culling" in the world of voxels - javascriptAll Articles