Interface ITimeControl
Interface that can be implemented by MonoBehaviours indicating that they receive time-related control calls from a PlayableGraph.
네임스페이스: UnityEngine.Timeline
어셈블리: solution.dll
구문
public interface ITimeControl
참고
Implementing this interface on MonoBehaviours attached to GameObjects under control by control-tracks will cause them to be notified when associated Timeline clips are active.
메서드
이름 | 설명 |
---|---|
OnControlTimeStart() | Called when the associated Timeline clip becomes active. |
OnControlTimeStop() | Called when the associated Timeline clip becomes deactivated. |
SetTime(double) | Called each frame the Timeline clip is active. |