LayaAir2.0 内置函数

  constructor(); //构造函数
  

//每10毫秒旋转一次 Laya.timer.loop(10,null,function(){ box.transform.rotate(vect,true,false); });

  

原文地址:https://www.cnblogs.com/lichuangblog/p/9711932.html