FiE-Game/Assets/Cinema Director/System/Runtime/TrackGroups/ActorTrackGroup.cs

24 lines
638 B
C#
Raw Permalink Normal View History

2023-07-26 21:47:00 +02:00
using UnityEngine;
namespace CinemaDirector
{
/// <summary>
/// The ActorTrackGroup maintains an Actor and a set of tracks that affect
/// that actor over the course of the Cutscene.
/// </summary>
[TrackGroupAttribute("Actor Track Group", TimelineTrackGenre.ActorTrack)]
public class ActorTrackGroup : TrackGroup
{
[SerializeField]
private Transform actor;
/// <summary>
/// The Actor that this TrackGroup is focused on.
/// </summary>
public Transform Actor
{
get { return actor; }
set { actor = value; }
}
}
}