Method CreateRecordableClip
CreateRecordableClip(string)
Creates a TimelineClip, AnimationPlayableAsset and an AnimationClip. Use this clip to record in a timeline.
선언
public TimelineClip CreateRecordableClip(string animClipName)
파라미터
타입 | 이름 | 설명 |
---|---|---|
string | animClipName | The name of the AnimationClip to create. This method does not ensure unique names. If you want a unique clip name, you must provide one. See ObjectNames.GetUniqueName for information on a method that creates unique names. |
반환
타입 | 설명 |
---|---|
TimelineClip | Returns a new TimelineClip with an AnimationPlayableAsset asset attached. |
참고
When used from the editor, this method attempts to save the created recordable clip to the TimelineAsset. The TimelineAsset must already exist in the AssetDatabase to save the recordable clip. If the TimelineAsset does not exist, the recordable clip is still created but it is not saved.