Class TextMateGrammarAsset
A ScriptableObject that stores a TextMate grammar definition. The JSON content can be passed directly to the TextMateLib bindings.
Inherited Members
Object.GetEntityId()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
[Serializable]
public class TextMateGrammarAsset : ScriptableObject
Properties
displayName
The human-readable display name of the grammar (e.g., "C#").
Declaration
public string displayName { get; }
Property Value
| Type | Description |
|---|---|
| string |
jsonContent
The raw JSON content of the grammar file.
Declaration
public string jsonContent { get; }
Property Value
| Type | Description |
|---|---|
| string |
scopeName
The scope name of the grammar (e.g., "source.csharp"). This is the unique identifier used to reference the grammar.
Declaration
public string scopeName { get; }
Property Value
| Type | Description |
|---|---|
| string |