C# Class UnityRose.Formats.STB

STB class.
Afficher le fichier Open project: osROSE/UnityRose Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
Load ( ) : void

Loads the specified file.

Method Details

Load() public méthode

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
Résultat void

STB() public méthode

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

STB() public méthode

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

Save() public méthode

Saves the file.
public Save ( ) : void
Résultat void

Save() public méthode

Saves the specified file.
public Save ( string filePath ) : void
filePath string The file path.
Résultat void