기술 자료

Unity Engine

Unity Engine

SetPlayState<U>(U, PlayState)

Changes the current PlayState of the Playable.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

SetPlayState<T>(T, PlayState)

경고
Deprecated. SetPlayState() has been deprecated. Use Play(), Pause() or SetDelay() instead
public static void SetPlayState<U>(this U playable, PlayState value) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

The new PlayState.

Remarks

PlayState.Playing: The local time of this Playable will be updated during the evaluation of the PlayableGraph.
PlayState.Paused: The local time of this Playable will not be updated during the evaluation of the PlayableGraph.
Use this templated extension method on any type that inherits from IPlayable.