浏览代码

correct doc error

Guide 6 年之前
父节点
当前提交
c799931e53
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/Sprites/spriteManager.ts
  2. 1 1
      src/Sprites/spritePackedManager.ts

+ 1 - 1
src/Sprites/spriteManager.ts

@@ -141,7 +141,7 @@ export class SpriteManager implements ISpriteManager {
      * @param epsilon defines the epsilon value to align texture (0.01 by default)
      * @param samplingMode defines the smapling mode to use with spritesheet
      * @param fromPacked set to false; do not alter
-     * @param spriteJSON, null otherwise a JSON object defining sprite sheet data; do not alter
+     * @param spriteJSON null otherwise a JSON object defining sprite sheet data; do not alter
      */
     constructor(
         /** defines the manager's name */

+ 1 - 1
src/Sprites/spritePackedManager.ts

@@ -15,7 +15,7 @@ export class SpritePackedManager extends SpriteManager{
      * @param imgUrl defines the sprite sheet url
      * @param capacity defines the maximum allowed number of sprites
      * @param scene defines the hosting scene
-     * @param spriteJSON, null otherwise a JSON object defining sprite sheet data
+     * @param spriteJSON null otherwise a JSON object defining sprite sheet data
      * @param epsilon defines the epsilon value to align texture (0.01 by default)
      * @param samplingMode defines the smapling mode to use with spritesheet
      * @param fromPacked set to true; do not alter