C# Класс UnityRose.Formats.STB

STB class.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Load ( ) : void

Loads the specified file.

Описание методов

Load() публичный Метод

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
Результат void

STB() публичный Метод

Initializes a new instance of the STB class.
public STB ( ) : System.Collections.Generic
Результат System.Collections.Generic

STB() публичный Метод

Initializes a new instance of the STB class.
public STB ( string filePath ) : System.Collections.Generic
filePath string The file path.
Результат System.Collections.Generic

Save() публичный Метод

Saves the file.
public Save ( ) : void
Результат void

Save() публичный Метод

Saves the specified file.
public Save ( string filePath ) : void
filePath string The file path.
Результат void