objective c - SKLabelNode.name target for setText -
question
how target sklabelnode name? change it's text?
example;
sknode *node = [self childnodewithname:string]; [node settext:value];
how 1 achieve this? cannot targeting it's instance variable have multiple under same name, however, have different names. cannot figure out how target sknode.
and try , sklabelnode *node =... incompatible.
any appreciated, thank you.
going through questions , sorting them out.
sknode *node = [self childnodewithname:string]; sklabelnode *label = (sklabelnode *)node; label.text = @"dwadw";
Comments
Post a Comment