TextStudio2DPaintAsset
public sealed class TextStudio2DPaintAsset : ScriptableObjectA directly referenced paint. Layers resolve it once during style compilation.
Methods
Section titled “Methods”
SetPaint(TextStudio2DPaint)
Section titled “SetPaint(TextStudio2DPaint)”public void SetPaint(TextStudio2DPaint paint)Stores an independently owned local paint value and advances the asset revision.
Parameters
| Name | Type |
|---|---|
paint |
TextStudio.TextStudio2DPaint |
Constructors
Section titled “Constructors”
TextStudio2DPaintAsset()
Section titled “TextStudio2DPaintAsset()”public TextStudio2DPaintAsset()Properties
Section titled “Properties”
Revision
Section titled “Revision”public int Revision { get; }Returns
System.Int32
public TextStudio2DPaint Paint { get; }Returns
TextStudio.TextStudio2DPaint