Method CreateClip
CreateClip<T>()
Creates a clip on the track with a playable asset attached, whose derived type is specified by T
선언
public TimelineClip CreateClip<T>() where T : ScriptableObject, IPlayableAsset
반환
타입 | 설명 |
---|---|
TimelineClip | Returns a TimelineClip whose asset is of type T |
타입 파라미터
이름 | 설명 |
---|---|
T | A PlayableAsset derived type |
참고
Throws InvalidOperationException if T
is not supported by the track.
Supported types are determined by TrackClip attributes that decorate the TrackAsset derived class