pixijs: Bug: why is there not exist function "getChildByName" in my Container

Current Behavior

I update pixi from 6.4.2 to 7.2.4.Then I found that the “getChildByname” function is invalid. For example: const nodeContainer = new PIXI.Container(); nodeContainer.getChildByName() image so I find PIXI Class. There is not exist function “getChildByName” in PIXI.Container image

Expected Behavior

image

Steps to Reproduce

I feel weird.And my English is not very good. I wonder if the description is clear?

Environment

  • pixi.js version: e.g. 7.2.4
  • Browser & Version: e.g. Chrome 116
  • OS & Version: *e.g. macOS Big Sur 11.1 *

Possible Solution

No response

Additional Information

No response

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 18 (7 by maintainers)

Most upvoted comments

Please also read this for upgrading. It’s important to inspect your package-lock.json to make sure it’s only v7 PixiJS dependencies (look for @pixi/* packages).