Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
marklundin committed Feb 12, 2024
1 parent 8a1f45c commit 85eac34
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/assets/createScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ ${className}.prototype.update = function(dt) {
};
// swap method called for script hot-reloading
// inherit your script state here
// uncomment the swap method to enable hot-reloading for this script
// update the method body to copy state from the old instance
// ${className}.prototype.swap = function(old) { };
// to learn more about script anatomy, please read:
// https://developer.playcanvas.com/en/user-manual/scripting/
// learn more about scripting here:
// https://developer.playcanvas.com/user-manual/scripting/
`.trim();
}

Expand Down

0 comments on commit 85eac34

Please sign in to comment.