bracer Registered User |
Quote
|
2019-09-16 23:02:32 |
|
What is the JavaScript's equivalent of the action "Restart a Scene" and How to retrieve current scene name ?
|
mutan_gaming Registered User |
Quote
|
2019-09-17 00:47:08 |
|
I don't know, sorry.
I can't also found it on the documentation.
|
bracer Registered User |
Quote
|
2019-09-17 04:05:25 |
|
Hey, atleast you tried to help, I just want you to know you are appreciated :D
|
chenhongye Registered User |
Quote
|
2019-09-19 14:36:16 |
|
Try to use var root = ccbGetRootSceneNode();
alert(root.scene.Name);
|