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

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -