PlayerStates.js 219 B

123456789101112
  1. cc.Class({
  2. extends: cc.Component,
  3. properties: {
  4. strPlayerStates:'',//'NormalRun','HoldJavelinRun','RideElephantRun','Over',
  5. },
  6. start () {
  7. this.strPlayerStates = 'NormalRun';
  8. },
  9. });