namespace Zinnia.Data.Operation.Extraction
{
using System;
using UnityEngine;
using UnityEngine.Events;
///
/// Provides a basis for extracting properties from a .
///
public abstract class TransformVector3PropertyExtractor : Vector3Extractor
{
///
/// Defines the event with the specified .
///
[Serializable]
public class UnityEvent : UnityEvent { }
[Tooltip("Determines whether to extract the local property or the world property.")]
[SerializeField]
private bool useLocal;
///
/// Determines whether to extract the local property or the world property.
///
public bool UseLocal
{
get
{
return useLocal;
}
set
{
useLocal = value;
}
}
///
/// The last extracted property value.
///
[Obsolete("Use `Result` instead.")]
public Vector3 LastExtractedValue => Result.GetValueOrDefault();
}
}