请问使用cc.Class new 出来的实例, 是已经用了prototype 吗?
Creator 2.x
111163
(AlanCLun)
2017年10月6日 02:44
#1
请问使用cc.Class new 出来的实例, 是已经用了prototype 吗? class 内的方法都是拿记忆体中的同一份吗?
jare
(jare)
2017年10月6日 09:33
#2
是的,已经用了 prototype,class 内的方法是同一份。