// --------------------------------------------------------------------------------------------------------------------
//
// Copyright (c) VRMADA, All rights reserved.
//
// --------------------------------------------------------------------------------------------------------------------
using System;
using UnityEngine;
namespace UltimateXR.Animation.UI
{
///
/// Different actions that can be executed once a animation finished.
///
[Flags]
public enum UxrTweenFinishedActions
{
///
/// No action.
///
None = 0,
///
/// Restores the original animated value that the component had before the animation.
///
RestoreOriginalValue = 1 << 0,
///
/// Disable the component that the is animating.
///
DisableTargetComponent = 1 << 1,
///
/// Deactivate the where the component is located.
///
DeactivateGameObject = 1 << 2,
///
/// Destroy the component.
///
DestroyTween = 1 << 3,
///
/// Destroy the component that the tween is animating.
///
DestroyTargetComponent = 1 << 4,
///
/// Destroy the where the component is located.
///
DestroyGameObject = 1 << 5
}
}