12 lines
246 B
C#
12 lines
246 B
C#
|
using UnityEngine;
|
|||
|
using UnityEngine.Playables;
|
|||
|
|
|||
|
public static class CustomPlayableExtensions
|
|||
|
{
|
|||
|
public static void ResetTime(this Playable playable, float time)
|
|||
|
{
|
|||
|
playable.SetTime(time);
|
|||
|
playable.SetTime(time);
|
|||
|
}
|
|||
|
}
|