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

_instantiated : bool
Signature
bool _instantiated

Properties

Instantiated : bool
[Get]
Whether the style object is instantiated or not (meaning the style is cloned as an instance).
Signature
bool Instantiated

Static Methods

Default< T > ()
Load and returns the default style of the asset.
The default style is specified by the name of the asset (with "Default" suffix).
Signature
static T Default< T >()
Returns
T  The default style
Instantiate< T > ( name )
Instantiate the style object (cloning as instance) and set the instantiated state to true.
Signature
static T Instantiate< T >(string name)
Parameters
name: string  String representing the name of the asset
Returns
T  The instantiated style of given name
Load< T > ( name )
Load the style with the specified name of the asset.
Signature
static T Load< T >(string name)
Parameters
name: string  String representing the name of the asset
Returns
T  The loaded style of given name