Inventory Engine  v4.0
Static Public Member Functions | List of all members
MoreMountains.Tools.MMMovement Class Reference

Movement helpers More...

Static Public Member Functions

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)
 

Detailed Description

Movement helpers

Member Function Documentation

◆ 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
movingObjectMoving object.
pointAPoint a.
pointBPoint b.
durationTime.

The documentation for this class was generated from the following file: