0
在SKScene
誰能給我舉例skscene類的調用方法從sknode類
- (void)increaseScoreBy:(float)amount
{
score += amount;
scoreNode.text = [NSString stringWithFormat:@"Score:%1.0f", score];
}
MyScene類的子類在SKNode
MyScene *objmyscene;
[objmyscene increaseScoreBy:2];
Employee類的子類我想打電話從increaseScoreBy:
方法員工分類(SkNode
的子分類)