23 lines
667 B
C#
23 lines
667 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace SplashEdit.RuntimeCode
|
|
{
|
|
/// <summary>
|
|
/// A single track within a cutscene, driving one property on one target.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class PSXCutsceneTrack
|
|
{
|
|
[Tooltip("What property this track drives.")]
|
|
public PSXTrackType TrackType;
|
|
|
|
[Tooltip("Target GameObject name (must match a PSXObjectExporter). Leave empty for camera tracks.")]
|
|
public string ObjectName = "";
|
|
|
|
[Tooltip("Keyframes for this track. Sort by frame number.")]
|
|
public List<PSXKeyframe> Keyframes = new List<PSXKeyframe>();
|
|
}
|
|
}
|