C# Class UnityRose.Formats.ZSC

ZSC class.
Show file Open project: osROSE/UnityRose Class Usage Examples

Public Methods

Method Description
CollisionLevel ( int bit ) : CollisionLevelType

Gets the collisions level.

CollisionPick ( int bit ) : CollisionPickType

Gets the collisions pick.

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

ZSC ( ) : System.Collections.Generic

Initializes a new instance of the ZSC class.

ZSC ( string filePath ) : System.Collections.Generic

Initializes a new instance of the ZSC class.

Private Methods

Method Description
Load ( ) : void

Loads the specified file.

Method Details

CollisionLevel() public static method

Gets the collisions level.
public static CollisionLevel ( int bit ) : CollisionLevelType
bit int The bit.
return CollisionLevelType

CollisionPick() public static method

Gets the collisions pick.
public static CollisionPick ( int bit ) : CollisionPickType
bit int The bit.
return CollisionPickType

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

ZSC() public method

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

ZSC() public method

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