C# Class XMLToCustomAsset, XmlToCustomAsset

Inheritance: MonoBehaviour
Afficher le fichier Open project: unity3d-jp/XmlToCustomAsset Class Usage Examples

Méthodes publiques

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

Private Methods

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

Method Details

CreateCustomAssetFromXml() public static méthode

public static CreateCustomAssetFromXml ( string path ) : void
path string
Résultat void

CreateMyCustomAssetFromText() public static méthode

public static CreateMyCustomAssetFromText ( TextAsset ta ) : MyCustomAsset,
ta UnityEngine.TextAsset
Résultat MyCustomAsset,

GetCustomAssetPathFromXml() public static méthode

public static GetCustomAssetPathFromXml ( string xmlPath ) : string
xmlPath string
Résultat string

ReloadMyCustomAssetFromText() public static méthode

public static ReloadMyCustomAssetFromText ( MyCustomAsset, a ) : bool
a MyCustomAsset,
Résultat bool