C# Class vp_ComponentPreset, OZML

Mostra file Open project: merveilles/OZML Class Usage Examples

Public Properties

Property Type Description
instance vp_ComponentPreset,
m_Component Component

Public Methods

Method Description
Load ( Component component, string fullPath ) : bool
LoadFromResources ( Component component, string resourcePath ) : bool
Save ( Component component, string fullPath ) : void

Private Methods

Method Description
Append ( string str ) : void
ArgsToBool ( string args ) : bool
ArgsToFloat ( string args ) : float
ArgsToInt ( string args ) : int
ArgsToString ( string args ) : string
ArgsToVector2 ( string args ) : Vector2
ArgsToVector3 ( string args ) : Vector3
ArgsToVector4 ( string args ) : Vector4
ClearTextFile ( ) : void
Parse ( string line ) : bool
ParseLines ( List lines ) : void
PresetError ( string message ) : void
RemoveComments ( string str ) : string
vp_ComponentPreset ( ) : System

Method Details

Load() public static method

public static Load ( Component component, string fullPath ) : bool
component Component
fullPath string
return bool

LoadFromResources() public static method

public static LoadFromResources ( Component component, string resourcePath ) : bool
component Component
resourcePath string
return bool

Save() public static method

public static Save ( Component component, string fullPath ) : void
component Component
fullPath string
return void

Property Details

instance public_oe static_oe property

public static vp_ComponentPreset, instance
return vp_ComponentPreset,

m_Component public_oe static_oe property

public static Component m_Component
return Component