From 838681de982ff9ef663ff4bdb0e16d9c65e712f0 Mon Sep 17 00:00:00 2001 From: Johnny Wu Date: Mon, 28 Dec 2015 21:01:24 +0800 Subject: [PATCH] move template to editor/template --- editor/template/new-scene.fire | 37 ------------------------------- editor/template/new-script.coffee | 16 ------------- editor/template/new-script.js | 25 --------------------- 3 files changed, 78 deletions(-) delete mode 100644 editor/template/new-scene.fire delete mode 100644 editor/template/new-script.coffee delete mode 100644 editor/template/new-script.js diff --git a/editor/template/new-scene.fire b/editor/template/new-scene.fire deleted file mode 100644 index f7787ac959..0000000000 --- a/editor/template/new-scene.fire +++ /dev/null @@ -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 - } -] \ No newline at end of file diff --git a/editor/template/new-script.coffee b/editor/template/new-script.coffee deleted file mode 100644 index 0baab69e43..0000000000 --- a/editor/template/new-script.coffee +++ /dev/null @@ -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 -} diff --git a/editor/template/new-script.js b/editor/template/new-script.js deleted file mode 100644 index da1edcc6a0..0000000000 --- a/editor/template/new-script.js +++ /dev/null @@ -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) { - - }, -});