UNPKG
laya-coreui-es
Version:
latest (0.0.2)
0.0.2
0.0.1
laya核心库、ui库es版本,剔除了媒体、TTF等功能。基于 LayaAir-release_2.12.0 修改
laya-coreui-es
/
build
/
es
/
layaAir
/
laya
/
components
/
CommonScript.js
24 lines
(23 loc)
•
372 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import
{
Component
}
from
"./Component"
;
export
class
CommonScript
extends
Component
{
get
isSingleton
() {
return
false
; }
constructor
(
) {
super
(); }
onAwake
(
) { }
onEnable
(
) { }
onStart
(
) { }
onUpdate
(
) { }
onLateUpdate
(
) { }
onDisable
(
) { }
onDestroy
(
) { } }