C# Class ScriptRuntime.IO

�����ļ���д������
Inheritance: ScriptRuntime.Base
Afficher le fichier Open project: Genesis-3D/Genesis-3D

Méthodes publiques

Méthode Description
CloseWriteFile ( XmlWriter writer ) : void

����д���ļ�

GetXmlReader ( String filePath ) : XmlReader

����Xml��ʽ�ļ���ȡ��

GetXmlWriter ( String filePath ) : XmlWriter

����Xml��ʽ�ļ�д����

ReadAllLines ( String filePath ) : String[]

���ı���ʽ��ȡ�ļ�������

SaveScene ( String filePath ) : void

���泡��

Private Methods

Méthode Description
ICall_IO_CloseWriteFile ( XmlWriter writer ) : void
ICall_IO_GetXmlReader ( String filePath ) : XmlReader
ICall_IO_GetXmlWriter ( String filePath ) : XmlWriter
ICall_IO_ReadAllLines ( String filePath ) : String[]
ICall_IO_SaveScene ( String filePath ) : void

Method Details

CloseWriteFile() public static méthode

����д���ļ�
public static CloseWriteFile ( XmlWriter writer ) : void
writer XmlWriter ���ļ�������д����
Résultat void

GetXmlReader() public static méthode

����Xml��ʽ�ļ���ȡ��
public static GetXmlReader ( String filePath ) : XmlReader
filePath String xml�ļ�ID(��asset:test.xml)
Résultat XmlReader

GetXmlWriter() public static méthode

����Xml��ʽ�ļ�д����
public static GetXmlWriter ( String filePath ) : XmlWriter
filePath String xml�ļ�ID(��asset:test.xml)
Résultat XmlWriter

ReadAllLines() public static méthode

���ı���ʽ��ȡ�ļ�������
public static ReadAllLines ( String filePath ) : String[]
filePath String Ҫ��ȡ���ļ�ID(��asset:test.txt)
Résultat String[]

SaveScene() public static méthode

���泡��
public static SaveScene ( String filePath ) : void
filePath String �����ļ�ID(��asset:test.scene)
Résultat void