This class handles the behavior of the watershark enemies that appear in the dragon level.
More...
|
| GameObject | Explosion |
| | the explosion gameobject that we'll make appear when the shark collides with the player
|
|
| virtual void | OnTriggerEnter2D (Collider2D collidingObject) |
| | Triggered when the shark collides with the player.
|
This class handles the behavior of the watershark enemies that appear in the dragon level.
◆ OnTriggerEnter2D()
| virtual void MoreMountains.InfiniteRunnerEngine.Watershark.OnTriggerEnter2D |
( |
Collider2D | collidingObject | ) |
|
|
protectedvirtual |
Triggered when the shark collides with the player.
- Parameters
-
| collidingObject | the object that collides with our shark. |
◆ _camera
◆ _explosionAnimator
| Animator MoreMountains.InfiniteRunnerEngine.Watershark._explosionAnimator |
|
protected |
◆ Explosion
| GameObject MoreMountains.InfiniteRunnerEngine.Watershark.Explosion |
the explosion gameobject that we'll make appear when the shark collides with the player
The documentation for this class was generated from the following file: