Skip to content

Instantly share code, notes, and snippets.

@anngdev
Created January 2, 2017 08:19
Show Gist options
  • Save anngdev/e74b79fad58e66255db6a7806618970c to your computer and use it in GitHub Desktop.
Save anngdev/e74b79fad58e66255db6a7806618970c to your computer and use it in GitHub Desktop.

Revisions

  1. anngdev created this gist Jan 2, 2017.
    14 changes: 14 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    cc.Class({
    extends: cc.Component,

    properties: {
    },

    // use this for initialization
    onLoad: function () {

    }
    update: function (dt) {

    },
    });