Custom SKSpriteNode not detected during touch
问题 In learning SpriteKit, I am trying to make a small adventure game. I am creating a hero, and adding it to the scene, and then later, during touchesBegan: , I detect if the touch originated on the hero, and take actions accordingly. If I add the hero as a SKSpriteNode the touch detects him. If I add him as a subclass of SKSpriteNode the touch does not! The difference in adding: _heroNode = [SKSpriteNode spriteNodeWithImageNamed:@"hero.png"]; vs _heroNode = [[ADVHeroNode alloc] init]; The init