C# Class UnityRose.Formats.STB

STB class.
Mostrar archivo Open project: osROSE/UnityRose Class Usage Examples

Public Methods

Method Description
Load ( string filePath ) : void

Loads the specified file. If resource is found, it is loaded as a Text asset. Otherwise, the function assumes this is an editor load and reads from disk

STB ( ) : System.Collections.Generic

Initializes a new instance of the STB class.

STB ( string filePath ) : System.Collections.Generic

Initializes a new instance of the STB class.

Save ( ) : void

Saves the file.

Save ( string filePath ) : void

Saves the specified file.

Private Methods

Method Description
Load ( ) : void

Loads the specified file.

Method Details

Load() public method

Loads the specified file. If resource is found, it is loaded as a Text asset. Otherwise, the function assumes this is an editor load and reads from disk
public Load ( string filePath ) : void
filePath string The file path of the Text Asset resource (without extension) or file (with extension) to load
return void

STB() public method

Initializes a new instance of the STB class.
public STB ( ) : System.Collections.Generic
return System.Collections.Generic

STB() public method

Initializes a new instance of the STB class.
public STB ( string filePath ) : System.Collections.Generic
filePath string The file path.
return System.Collections.Generic

Save() public method

Saves the file.
public Save ( ) : void
return void

Save() public method

Saves the specified file.
public Save ( string filePath ) : void
filePath string The file path.
return void