C# Class XMLToCustomAsset, XmlToCustomAsset

Inheritance: MonoBehaviour
Datei anzeigen Open project: unity3d-jp/XmlToCustomAsset Class Usage Examples

Public Methods

Method Description
CreateCustomAssetFromXml ( string path ) : void
CreateMyCustomAssetFromText ( TextAsset ta ) : MyCustomAsset,
GetCustomAssetPathFromXml ( string xmlPath ) : string
ReloadMyCustomAssetFromText ( MyCustomAsset, a ) : bool

Private Methods

Method Description
_IsTextNode ( XmlNode node ) : bool
_NameEqual ( string nameToMatch ) : System.Predicate
_ObjectEqual ( MyCustomAssetInnerClass rhs ) : System.Predicate
_ParseColor ( string col ) : Color

Method Details

CreateCustomAssetFromXml() public static method

public static CreateCustomAssetFromXml ( string path ) : void
path string
return void

CreateMyCustomAssetFromText() public static method

public static CreateMyCustomAssetFromText ( TextAsset ta ) : MyCustomAsset,
ta UnityEngine.TextAsset
return MyCustomAsset,

GetCustomAssetPathFromXml() public static method

public static GetCustomAssetPathFromXml ( string xmlPath ) : string
xmlPath string
return string

ReloadMyCustomAssetFromText() public static method

public static ReloadMyCustomAssetFromText ( MyCustomAsset, a ) : bool
a MyCustomAsset,
return bool