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 More...
|
|
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()
static IEnumerator MoreMountains.Tools.MMMovement.AnimateRotation |
( |
Transform |
targetTransform, |
|
|
Vector3 |
vector, |
|
|
float |
duration, |
|
|
AnimationCurve |
curveX, |
|
|
AnimationCurve |
curveY, |
|
|
AnimationCurve |
curveZ, |
|
|
float |
multiplier |
|
) |
| |
|
static |
◆ AnimateScale()
static IEnumerator MoreMountains.Tools.MMMovement.AnimateScale |
( |
Transform |
targetTransform, |
|
|
Vector3 |
vector, |
|
|
float |
duration, |
|
|
AnimationCurve |
curveX, |
|
|
AnimationCurve |
curveY, |
|
|
AnimationCurve |
curveZ, |
|
|
float |
multiplier = 1f |
|
) |
| |
|
static |
◆ MoveFromTo()
static 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:
- F:/Github/Store/InventoryEngineStore/Assets/InventoryEngine/MMTools/Core/MMHelpers/MMMovement.cs