Browse Source

新建rankitem脚本

Roy 6 years ago
parent
commit
7aa5504b5b
3 changed files with 2139 additions and 159 deletions
  1. 2107 159
      assets/Scene/GameSence.fire
  2. 23 0
      assets/Script/Rank/RankItem.js
  3. 9 0
      assets/Script/Rank/RankItem.js.meta

File diff suppressed because it is too large
+ 2107 - 159
assets/Scene/GameSence.fire


+ 23 - 0
assets/Script/Rank/RankItem.js

@@ -0,0 +1,23 @@
+
+
+cc.Class({
+    extends: cc.Component,
+
+    properties: {
+        rankLabel:cc.Label,
+        rankSprite:cc.Sprite,
+        avatar: cc.Sprite,
+        nameLabel:cc.Label,
+        scoreLabel:cc.Label,
+        rankSpriteList:[cc.SpriteFrame],
+
+    },
+
+    onLoad () {},
+
+    start () {
+
+    },
+
+    // update (dt) {},
+});

+ 9 - 0
assets/Script/Rank/RankItem.js.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "1.0.5",
+  "uuid": "b59a0c4f-d6c3-4def-ae01-cfbbf424e027",
+  "isPlugin": false,
+  "loadPluginInWeb": true,
+  "loadPluginInNative": true,
+  "loadPluginInEditor": false,
+  "subMetas": {}
+}

Some files were not shown because too many files changed in this diff