≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
js class
Posted by:
(you are not logged in)
Enter the missing letter in: "Internati?nal"
(you are not logged in)
Text:
[quote][b]Guest[/b] wrote: as i can see cc can't use class structure by execute js, or is there some special way to create class in cc? for example i write: [code] class MyClass{ constructor(nodeName, mass){ this.node = ccbGetSceneNodeFromeName(nodeName); this.nodeMass = mass; } } [/code] and can't use it, even more i always get "SyntaxError: missing ; before statement"...[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact