Get the name of behaviour

For developers using the Construct 2 Javascript SDK

Post » Tue Mar 22, 2016 3:40 pm

I am developing a new behaviour and I would like to know its name, because one Sprite has several behaviours of this kind and I give them different names.
I'm trying to access it inside "behinstProto.tick" but "this.name" returns "undefined"...
B
6
S
2
Posts: 30
Reputation: 540

Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 2 guests