Movement helpers.
More...
|
| static IEnumerator | MoveFromTo (GameObject movingObject, Vector3 pointA, Vector3 pointB, float duration, AnimationCurve curve=null) |
| | Moves an object from point A to point B in a given time.
|
| static IEnumerator | AnimateScale (Transform targetTransform, Vector3 vector, float duration, AnimationCurve curveX, AnimationCurve curveY, AnimationCurve curveZ, float multiplier=1f) |
| static IEnumerator | AnimateRotation (Transform targetTransform, Vector3 vector, float duration, AnimationCurve curveX, AnimationCurve curveY, AnimationCurve curveZ, float multiplier) |
◆ AnimateRotation()
| IEnumerator MoreMountains.Tools.MMMovement.AnimateRotation |
( |
Transform | targetTransform, |
|
|
Vector3 | vector, |
|
|
float | duration, |
|
|
AnimationCurve | curveX, |
|
|
AnimationCurve | curveY, |
|
|
AnimationCurve | curveZ, |
|
|
float | multiplier ) |
|
static |
◆ AnimateScale()
| IEnumerator MoreMountains.Tools.MMMovement.AnimateScale |
( |
Transform | targetTransform, |
|
|
Vector3 | vector, |
|
|
float | duration, |
|
|
AnimationCurve | curveX, |
|
|
AnimationCurve | curveY, |
|
|
AnimationCurve | curveZ, |
|
|
float | multiplier = 1f ) |
|
static |
◆ MoveFromTo()
| IEnumerator MoreMountains.Tools.MMMovement.MoveFromTo |
( |
GameObject | movingObject, |
|
|
Vector3 | pointA, |
|
|
Vector3 | pointB, |
|
|
float | duration, |
|
|
AnimationCurve | curve = null ) |
|
static |
Moves an object from point A to point B in a given time.
- Parameters
-
| movingObject | Moving object. |
| pointA | Point a. |
| pointB | Point b. |
| duration | Time. |
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/NiceTouchStore/Assets/NiceTouch/Common/Scripts/MMTools/MMHelpers/MMMovement.cs