mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 09:16:02 +08:00
25 lines
738 B
C#
25 lines
738 B
C#
// Author: Daniele Giardini - http://www.demigiant.com
|
|
// Created: 2014/09/01 18:50
|
|
//
|
|
// License Copyright (c) Daniele Giardini.
|
|
// This work is subject to the terms at http://dotween.demigiant.com/license.php
|
|
|
|
using UnityEngine;
|
|
|
|
#pragma warning disable 1591
|
|
namespace DG.Tweening.Plugins.Options
|
|
{
|
|
public struct QuaternionOptions : IPlugOptions
|
|
{
|
|
internal RotateMode rotateMode;
|
|
internal AxisConstraint axisConstraint; // Used by SpecialStartupMode SetLookAt
|
|
internal Vector3 up; // Used by SpecialStartupMode SetLookAt
|
|
|
|
public void Reset()
|
|
{
|
|
rotateMode = RotateMode.Fast;
|
|
axisConstraint = AxisConstraint.None;
|
|
up = Vector3.zero;
|
|
}
|
|
}
|
|
} |