Unity and Flutter apps Home Page
Work to create apps for generating revenue
|
Details the action to be taken when a collision occurs with the target. In this class the target is sped up by the collider. The strength of the effect can be specified. More...
Public Member Functions | |
void | DoCollisionAction (CollisionActionController controller, CollisionEffectStrengthEnum collisionEffectStrengthEnum) |
On entering the collision zone this method is called. in this case the target is sped up through the collider. | |
void | DoCollisionAreaExitAction (CollisionActionController controller, CollisionEffectStrengthEnum collisionEffectStrengthEnum) |
Speed up effect zone is exited. |
Details the action to be taken when a collision occurs with the target. In this class the target is sped up by the collider. The strength of the effect can be specified.
Each action type can be set against the collider object by adding the CollectionActionController to the collider object and setting the action name and strength.
void Collision.SpeedChangeCollisionAction.DoCollisionAction | ( | CollisionActionController | controller, |
CollisionEffectStrengthEnum | collisionEffectStrengthEnum ) |
On entering the collision zone this method is called. in this case the target is sped up through the collider.
controller | |
collisionEffectStrengthEnum |
Implements Collision.ICollisionAction.
void Collision.SpeedChangeCollisionAction.DoCollisionAreaExitAction | ( | CollisionActionController | controller, |
CollisionEffectStrengthEnum | collisionEffectStrengthEnum ) |
Speed up effect zone is exited.
controller | |
collisionEffectStrengthEnum |
Implements Collision.ICollisionAction.