Files
beyond/Assets/Scripts/Utils/AnimationHelper.cs
2024-11-20 15:21:28 +01:00

33 lines
680 B
C#

using UnityEngine;
using System.Collections;
public class AnimationHelper : MonoBehaviour {
public enum SelectionType{ KEY, IN_TANGENT, OUT_TANGENT };
public enum TangentMode { SMOOTH, BROKEN };
public SelectionType selectionType = SelectionType.KEY;
[HideInInspector]
public int selectedKeyIndex;
[HideInInspector]
public AnimationClip currentClip;
[HideInInspector]
public Animator currentAnimator;
//[HideInInspector]
public string currentAnimPath;
public TangentMode tangentMode = TangentMode.SMOOTH;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}