This commit is contained in:
Richard Davey 2020-10-16 15:13:15 +01:00
parent 7d8302e09c
commit 709ea50d61
2 changed files with 7 additions and 3 deletions

View file

@ -33542,8 +33542,8 @@ var SpineContainerRender = __webpack_require__(/*! ./SpineContainerRender */ "./
* A Spine Container is a special kind of Container created specifically for Spine Game Objects. * A Spine Container is a special kind of Container created specifically for Spine Game Objects.
* *
* You have all of the same features of a standard Container, but the rendering functions are optimized specifically * You have all of the same features of a standard Container, but the rendering functions are optimized specifically
* for Spine Game Objects. You must only add ever Spine Game Objects to this type of Container. Although Phaser will * for Spine Game Objects. You must only add ever Spine Game Objects, or other Spine Containers, to this type of Container.
* not prevent you from adding other types, they will not render and are likely to throw runtime errors. * Although Phaser will not prevent you from adding other types, they will not render and are likely to throw runtime errors.
* *
* To create one in a Scene, use the factory methods: * To create one in a Scene, use the factory methods:
* *
@ -33557,6 +33557,10 @@ var SpineContainerRender = __webpack_require__(/*! ./SpineContainerRender */ "./
* this.make.spinecontainer(); * this.make.spinecontainer();
* ``` * ```
* *
* Note that you should not nest Spine Containers inside regular Containers if you wish to use masks on the
* container children. You can, however, mask children of Spine Containers if they are embedded within other
* Spine Containers. In short, if you need masking, don't mix and match the types.
*
* See the Container documentation for further details about what Containers can do. * See the Container documentation for further details about what Containers can do.
* *
* @class SpineContainer * @class SpineContainer

File diff suppressed because one or more lines are too long