FiE-Game/Assets/Cinema Director/System/Runtime/TimelineItems/CinemaGlobalEvent.cs

21 lines
616 B
C#
Raw Normal View History

2023-07-26 21:47:00 +02:00
// Cinema Suite
using UnityEngine;
namespace CinemaDirector
{
/// <summary>
/// A basic global event that can be Triggered when the Firetime is reached.
/// </summary>
public abstract class CinemaGlobalEvent : TimelineItem
{
/// <summary>
/// The event is triggered when the Cutscene's runningtime passes the fire time.
/// </summary>
public abstract void Trigger();
/// <summary>
/// The event can be triggered when the Cutscene is played in reverse passing the fire time.
/// </summary>
public virtual void Reverse() { }
}
}