From e3905b9c0ad968a9ad381d5bcdb79977b3be1878 Mon Sep 17 00:00:00 2001 From: caizhitao Date: Mon, 23 Dec 2019 23:12:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84Demo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/prefabs.meta | 7 + assets/prefabs/ColorAlphaSliderPrefab.prefab | 870 +++++ .../ColorAlphaSliderPrefab.prefab.meta | 8 + assets/prefabs/ColorBlueSliderPrefab.prefab | 870 +++++ .../prefabs/ColorBlueSliderPrefab.prefab.meta | 8 + assets/prefabs/ColorGreenSliderPrefab.prefab | 870 +++++ .../ColorGreenSliderPrefab.prefab.meta | 8 + assets/prefabs/ColorRedSliderPrefab.prefab | 870 +++++ .../prefabs/ColorRedSliderPrefab.prefab.meta | 8 + assets/prefabs/GlowWidthSliderPrefab.prefab | 870 +++++ .../prefabs/GlowWidthSliderPrefab.prefab.meta | 8 + assets/scenes/GlowInnerEffectScene.fire | 2922 +---------------- assets/scripts/GlowInnerEffectScene.ts | 12 +- assets/scripts/common.meta | 7 + assets/scripts/common/prefabs.meta | 7 + .../common/prefabs/ColorSliderPrefab.ts | 26 + .../common/prefabs/ColorSliderPrefab.ts.meta | 9 + .../common/prefabs/GlowWidthSliderPrefab.ts | 27 + .../prefabs/GlowWidthSliderPrefab.ts.meta | 9 + 19 files changed, 4609 insertions(+), 2807 deletions(-) create mode 100644 assets/prefabs.meta create mode 100644 assets/prefabs/ColorAlphaSliderPrefab.prefab create mode 100644 assets/prefabs/ColorAlphaSliderPrefab.prefab.meta create mode 100644 assets/prefabs/ColorBlueSliderPrefab.prefab create mode 100644 assets/prefabs/ColorBlueSliderPrefab.prefab.meta create mode 100644 assets/prefabs/ColorGreenSliderPrefab.prefab create mode 100644 assets/prefabs/ColorGreenSliderPrefab.prefab.meta create mode 100644 assets/prefabs/ColorRedSliderPrefab.prefab create mode 100644 assets/prefabs/ColorRedSliderPrefab.prefab.meta create mode 100644 assets/prefabs/GlowWidthSliderPrefab.prefab create mode 100644 assets/prefabs/GlowWidthSliderPrefab.prefab.meta create mode 100644 assets/scripts/common.meta create mode 100644 assets/scripts/common/prefabs.meta create mode 100644 assets/scripts/common/prefabs/ColorSliderPrefab.ts create mode 100644 assets/scripts/common/prefabs/ColorSliderPrefab.ts.meta create mode 100644 assets/scripts/common/prefabs/GlowWidthSliderPrefab.ts create mode 100644 assets/scripts/common/prefabs/GlowWidthSliderPrefab.ts.meta diff --git a/assets/prefabs.meta b/assets/prefabs.meta new file mode 100644 index 0000000..e7e0c50 --- /dev/null +++ b/assets/prefabs.meta @@ -0,0 +1,7 @@ +{ + "ver": "1.0.1", + "uuid": "8b73c029-c8a2-494d-be88-fd85f92e9591", + "isSubpackage": false, + "subpackageName": "", + "subMetas": {} +} \ No newline at end of file diff --git a/assets/prefabs/ColorAlphaSliderPrefab.prefab b/assets/prefabs/ColorAlphaSliderPrefab.prefab new file mode 100644 index 0000000..d832a7d --- /dev/null +++ b/assets/prefabs/ColorAlphaSliderPrefab.prefab @@ -0,0 +1,870 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false, + "readonly": false + }, + { + "__type__": "cc.Node", + "_name": "ColorAlphaSliderPrefab", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 6 + }, + { + "__id__": 18 + } + ], + "_active": true, + "_components": [ + { + "__id__": 22 + }, + { + "__id__": 23 + } + ], + "_prefab": { + "__id__": 24 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 576, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -318, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "SliderDescLabel", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 4 + } + ], + "_prefab": { + "__id__": 5 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 144, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -144, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "SliderDescLabel