Default Operations
The Dropl Package comes with a set of default operations that can be used to perform common tasks. These operations are available under the Hibzz.Dropl.DefaultOperations
namespace.
The following operations are available: Move Operations
MoveOperation
: Moves the given transform to the expected position over the given durationMoveXOperation
: Moves the given transform to the expected position over the given duration, only on the X axisMoveYOperation
: Moves the given transform to the expected position over the given duration, only on the Y axisMoveZOperation
: Moves the given transform to the expected position over the given duration, only on the Z axis
Translate Operations
TranslateOperation
: Translates the given transform by the given offset over the given durationTranslateXOperation
: Translates the given transform by the given offset over the given duration, only on the X axisTranslateYOperation
: Translates the given transform by the given offset over the given duration, only on the Y axisTranslateZOperation
: Translates the given transform by the given offset over the given duration, only on the Z axis
Rotate Operations
RotateOperation
: Rotates the given transform to the expected rotation (in Euler angles) over the given durationRotateXOperation
: Rotates the given transform to the expected rotation over the given duration, only on the X axisRotateYOperation
: Rotates the given transform to the expected rotation over the given duration, only on the Y axisRotateZOperation
: Rotates the given transform to the expected rotation over the given duration, only on the Z axis
Scale Operations
ScaleOperation
: Scales the given transform to the expected scale over the given durationScaleXOperation
: Scales the given transform to the expected scale over the given duration, only on the X axisScaleYOperation
: Scales the given transform to the expected scale over the given duration, only on the Y axisScaleZOperation
: Scales the given transform to the expected scale over the given duration, only on the Z axis
Sprite Operations
SpriteFadeOperation
: Fades the given sprite to the expected alpha value over the given durationSpriteTintOperation
: Tints the given sprite to the expected color over the given duration
UI Image Operations
UIFadeOperation
: Fades the given UI Image to the expected alpha value over the given durationUITintOperation
: Tints the given UI Image to the expected color over the given duration