namespace Zinnia.Data.Operation.Extraction
{
using UnityEngine;
///
/// Extracts the euler angles of a .
///
public class TransformEulerRotationExtractor : TransformVector3PropertyExtractor
{
///
protected override Vector3? ExtractValue()
{
if (Source == null)
{
return null;
}
return UseLocal ? Source.transform.localEulerAngles : Source.transform.eulerAngles;
}
}
}