C# Class UnityRose.Formats.ZMS

ZMS class.
Show file 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

ZMS ( ) : System

Initializes a new instance of the ZMS class.

ZMS ( string filePath ) : System

Initializes a new instance of the ZMS class.

ZMS ( string filePath, Vector2 lmScale, Vector2 lmOffset ) : System
getMesh ( ) : Mesh

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

ZMS() public method

Initializes a new instance of the ZMS class.
public ZMS ( ) : System
return System

ZMS() public method

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

ZMS() public method

public ZMS ( string filePath, Vector2 lmScale, Vector2 lmOffset ) : System
filePath string
lmScale Vector2
lmOffset Vector2
return System

getMesh() public method

public getMesh ( ) : Mesh
return UnityEngine.Mesh