cohtml.FileReader
Helper class providing functionality to read files.
Inherits from cohtml.Net.UnityFileSystemReader, cohtml.Net.IFileSystemReader, cohtml.Net.IFileManipulator, SystemIDisposable
Public Functions
| Name | |
|---|---|
| void | RegisterPreloadedFonts(IUISystem system) Reads font files into a TextAsset and registers them via the provided native IUISystem object. |
Public Properties
| Name | |
|---|---|
| FileReader | Reader Returns a Singleton instance of the current FileReader. |
Additional inherited members
Public Functions inherited from cohtml.Net.UnityFileSystemReader
| Name | |
|---|---|
| virtual override void | Dispose() |
| virtual bool | EnumerateFolder(string path) Prepares the given folder for enumeration. |
| virtual string | NextFile() Returns the name of the i-th file in the current folder. |
| virtual UnitySyncStreamReader | OpenFile(string path) Opens the given file for reading. |
| UnityFileSystemReader() | |
| delegate bool | SwigDelegateUnityFileSystemReader_0(string path, global.System.IntPtr swigId) |
| delegate string | SwigDelegateUnityFileSystemReader_1(global.System.IntPtr swigId) |
| delegate global.System.IntPtr | SwigDelegateUnityFileSystemReader_2(string path, global.System.IntPtr swigId) |
Public Functions inherited from cohtml.Net.IFileSystemReader
| Name | |
|---|---|
| virtual override void | Dispose() |
Public Functions inherited from cohtml.Net.IFileManipulator
| Name | |
|---|---|
| virtual void | Dispose() |
| virtual bool | EnumerateFolder(string path) Prepares the given folder for enumeration. |
| virtual string | NextFile() Returns the name of the i-th file in the current folder. |
| virtual IStreamReader | OpenFile(string path) Opens the given file for reading. |
Protected Attributes inherited from cohtml.Net.IFileManipulator
| Name | |
|---|---|
| bool | swigCMemOwn |
Public Functions Documentation
function RegisterPreloadedFonts
static void RegisterPreloadedFonts(
IUISystem system
)
Reads font files into a TextAsset and registers them via the provided native IUISystem object.
Public Property Documentation
property Reader
static FileReader Reader;
Returns a Singleton instance of the current FileReader.