FiE-Game/Assets/Cinema Director/System/Runtime/Helpers/IOptimizable.cs

16 lines
422 B
C#
Raw Permalink Normal View History

2023-07-26 21:47:00 +02:00

namespace CinemaDirector
{
/// <summary>
/// Implement this Interface in Timeline Items that can be optimized in some way before the Cutscene is played.
/// </summary>
interface IOptimizable
{
// Can the Item be optimized. In some cases users may need to disable the ability.
bool CanOptimize { get; set; }
// Perform optimization.
void Optimize();
}
}