API reference
API reference
Select your platform
No SDKs available
No versions available

Style Class

Extends ScriptableObject
This is a ScriptableObject that's storing the style used by Immersive Debugger.
Serves as the base class for the specific styles, providing common functionalities to manage the asset. For more info about Immersive Debugger, check out the official doc

Protected Fields

bool _instantiated[Get]

Properties

Whether the style object is instantiated or not (meaning the style is cloned as an instance).

Static Member Functions

Load and returns the default style of the asset.
The default style is specified by the name of the asset (with "Default" suffix).
Others
T
Type of the style
Returns
The default style
Load the style with the specified name of the asset.
Parameters
name
String representing the name of the asset
Others
T
Type of the style
Returns
The loaded style of given name
Instantiate the style object (cloning as instance) and set the instantiated state to true.
Parameters
name
String representing the name of the asset
Others
T
Type of the style
Returns
The instantiated style of given name
Did you find this page helpful?
Thumbs up icon
Thumbs down icon