Skip to content

Commit

Permalink
deprecate action manager array in scene (#12620)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaananW committed Jun 1, 2022
1 parent 9776013 commit 2b84296
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/dev/core/src/abstractScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ export abstract class AbstractScene {

/**
* ActionManagers available on the scene.
* @deprecated
*/
public actionManagers = new Array<AbstractActionManager>();

Expand Down
2 changes: 2 additions & 0 deletions packages/dev/core/src/scene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2538,6 +2538,7 @@ export class Scene extends AbstractScene implements IAnimatable, IClipPlanesHold

/**
* Removes the given action manager from this scene.
* @deprecated
* @param toRemove The action manager to remove
* @returns The index of the removed action manager
*/
Expand Down Expand Up @@ -2721,6 +2722,7 @@ export class Scene extends AbstractScene implements IAnimatable, IClipPlanesHold

/**
* Adds the given action manager to this scene
* @deprecated
* @param newActionManager The action manager to add
*/
public addActionManager(newActionManager: AbstractActionManager): void {
Expand Down

0 comments on commit 2b84296

Please sign in to comment.