mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
21 lines
502 B
C#
21 lines
502 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEngine.Timeline
|
|
{
|
|
internal abstract class RuntimeClipBase : RuntimeElement
|
|
{
|
|
public abstract double start { get; }
|
|
public abstract double duration { get; }
|
|
|
|
public override Int64 intervalStart
|
|
{
|
|
get { return DiscreteTime.GetNearestTick(start); }
|
|
}
|
|
|
|
public override Int64 intervalEnd
|
|
{
|
|
get { return DiscreteTime.GetNearestTick(start + duration); }
|
|
}
|
|
}
|
|
}
|