1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-20 17:26:03 +08:00
2015-03-18 19:30:48 +01:00

34 lines
1.2 KiB
C#

// Author: Daniele Giardini - http://www.demigiant.com
// Created: 2014/11/11 13:01
//
// License Copyright (c) Daniele Giardini.
// This work is subject to the terms at http://dotween.demigiant.com/license.php
namespace DG.Tweening
{
/// <summary>
/// Rotation mode used with DORotate methods
/// </summary>
public enum RotateMode
{
/// <summary>
/// Fastest way that never rotates beyond 360°
/// </summary>
Fast,
/// <summary>
/// Fastest way that rotates beyond 360°
/// </summary>
FastBeyond360,
/// <summary>
/// Adds the given rotation to the transform using world axis and an advanced precision mode
/// (like when using transform.Rotate(Space.World)).
/// <para>In this mode the end value is is always considered relative</para>
/// </summary>
WorldAxisAdd,
/// <summary>
/// Adds the given rotation to the transform's local axis
/// (like when rotating an object with the "local" switch enabled in Unity's editor or using transform.Rotate(Space.Self)).
/// <para>In this mode the end value is is always considered relative</para>
/// </summary>
LocalAxisAdd,
}
}