扩展timeline 倍速参数
This commit is contained in:
parent
09435dd391
commit
0da2c9ea70
@ -109,6 +109,10 @@ public class TimeLineAction : IAction
|
||||
{
|
||||
curSpeed = 1;
|
||||
}
|
||||
if (!play.playableGraph.IsValid())
|
||||
{
|
||||
play.RebuildGraph();
|
||||
}
|
||||
play.playableGraph.GetRootPlayable(0).SetSpeed(curSpeed);
|
||||
play.Play();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user