File tree Expand file tree Collapse file tree
src/gameobjects/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ var Pipeline = {
267267 * @webglOnly
268268 * @since 3.50.0
269269 *
270- * @param {string } name - The name of the Post Pipeline to get .
270+ * @param {string|Phaser.Renderer.WebGL.Pipelines.PostFXPipeline } pipeline - The string-based name of the pipeline, or a pipeline class .
271271 *
272272 * @return {Phaser.Renderer.WebGL.Pipelines.PostFXPipeline } The first Post Pipeline matching the name, or undefined if no match.
273273 */
@@ -279,7 +279,7 @@ var Pipeline = {
279279 {
280280 var instance = pipelines [ i ] ;
281281
282- if ( ( typeof pipeline === 'string' && instance . name === name ) || instance instanceof pipeline )
282+ if ( ( typeof pipeline === 'string' && instance . name === pipeline ) || instance instanceof pipeline )
283283 {
284284 return instance ;
285285 }
You can’t perform that action at this time.
0 commit comments