mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
17 lines
431 B
CoffeeScript
17 lines
431 B
CoffeeScript
cc.Class {
|
|
extends: cc.Component
|
|
|
|
properties: {
|
|
# foo:
|
|
# default: null
|
|
# type: cc
|
|
# serializable: true # [optional], default is true
|
|
# visible: true # [optional], default is true
|
|
# displayName: 'Foo' # [optional], default is property name
|
|
# readonly: false # [optional], default is false
|
|
}
|
|
|
|
update: (dt) ->
|
|
# do your update here
|
|
}
|