TextStudioTypewriterMotionPreset
[CreateAssetMenu(fileName = "TextStudioTypewriterMotionPreset", menuName = "Text Studio/Animation/Typewriter/Motion Preset", order = 6)]public sealed class TextStudioTypewriterMotionPreset : ScriptableObjectReusable reveal and hide motion expressions with a default effect-composition policy.
Methods
Section titled “Methods”
Apply(TextStudioBuiltInTypewriterMotionPreset)
Section titled “Apply(TextStudioBuiltInTypewriterMotionPreset)”public void Apply(TextStudioBuiltInTypewriterMotionPreset preset)Copies a built-in motion definition into this custom authoring asset.
Parameters
| Name | Type |
|---|---|
preset |
TextStudio.BuiltIns.TextStudioBuiltInTypewriterMotionPreset |
Apply(TextStudioTypewriterMotionPreset)
Section titled “Apply(TextStudioTypewriterMotionPreset)”public void Apply(TextStudioTypewriterMotionPreset preset)Copies another custom motion asset, or resets to empty motion when it is null.
Parameters
| Name | Type |
|---|---|
preset |
TextStudio.TextStudioTypewriterMotionPreset |
Constructors
Section titled “Constructors”
TextStudioTypewriterMotionPreset()
Section titled “TextStudioTypewriterMotionPreset()”public TextStudioTypewriterMotionPreset()Properties
Section titled “Properties”
DisplayName
Section titled “DisplayName”public string DisplayName { get; set; }Returns
System.String
Description
Section titled “Description”public string Description { get; set; }Returns
System.String
SampleText
Section titled “SampleText”public string SampleText { get; set; }Returns
System.String
RevealMotion
Section titled “RevealMotion”public string RevealMotion { get; set; }Returns
System.String
HideMotion
Section titled “HideMotion”public string HideMotion { get; set; }Returns
System.String
DefaultEffectMode
Section titled “DefaultEffectMode”public TextStudioDefaultEffectMode DefaultEffectMode { get; set; }Returns
TextStudio.TextStudioDefaultEffectMode