using System;
using UnityEngine;
namespace Unity.Cinemachine
{
///
/// Structure for holding the procedural motion targets for a CinemachineCamera.
/// The main TrackingTarget is used by default for all object tracking. Optionally, a second
/// LookAt target can be provided to make the camera follow one object while
/// pointing at another.
///
[Serializable]
public struct CameraTarget
{
/// Object for the camera to follow
[Tooltip("Object for the camera to follow")]
public Transform TrackingTarget;
/// Optional secondary object for the camera to look at
[Tooltip("Object for the camera to look at")]
public Transform LookAtTarget;
///
/// If false, TrackingTarget will be used for all object tracking.
/// If true, then LookAtTarget is used for rotation tracking and
/// TrackingTarget is used only for position tracking.
///
public bool CustomLookAtTarget;
}
}