Merge pull request #145 from jwu/master

move template to editor/template
This commit is contained in:
Wu Jie
2015-12-28 21:02:09 +08:00
3 changed files with 0 additions and 78 deletions
-37
View File
@@ -1,37 +0,0 @@
[
{
"__type__": "cc.SceneAsset",
"scene": {
"__id__": 1
}
},
{
"__type__": "cc.Scene",
"_children": [
{
"__id__": 2
}
]
},
{
"__type__": "cc.Node",
"_name": "Canvas",
"_parent": {
"__id__": 1
},
"_children": [],
"_components": [
{
"__id__": 3
}
]
},
{
"__type__": "cc.Canvas",
"node": {
"__id__": 2
},
"_fitWidth": false,
"_fitHeight": true
}
]
-16
View File
@@ -1,16 +0,0 @@
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
}
-25
View File
@@ -1,25 +0,0 @@
cc.Class({
extends: cc.Component,
properties: {
// foo: {
// default: null,
// url: cc.Texture2D, // optional, default is typeof default
// serializable: true, // optional, default is true
// visible: true, // optional, default is true
// displayName: 'Foo', // optional
// readonly: false, // optional, default is false
// },
// ...
},
// use this for initialization
onLoad: function () {
},
// called every frame
update: function (dt) {
},
});