Class MultiMediaLoader
MultiMediaLoader will load multiple sprites and audios according to the mediaInfo
file.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Rosetta.Runtime.Loader
Assembly: Rosetta.Runtime.dll
Syntax
public class MultiMediaLoader : LoaderBase
Methods
| Improve this Doc View SourceLoad(String, LangFlag, ref Dictionary<String, Dictionary<String, Sprite>>, ref Dictionary<String, Dictionary<String, AudioClip>>)
Declaration
public void Load(string space, LangFlag locale, ref Dictionary<string, Dictionary<string, Sprite>> spriteCache, ref Dictionary<string, Dictionary<string, AudioClip>> audioCache)
Parameters
Type | Name | Description |
---|---|---|
System.String | space | |
LangFlag | locale | |
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.Dictionary<System.String, UnityEngine.Sprite>> | spriteCache | |
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.Dictionary<System.String, UnityEngine.AudioClip>> | audioCache |
Load<T>(String, String, Nullable<LangFlag>)
Declaration
public override T Load<T>(string space, string filename, LangFlag? flag = default(LangFlag? ))
Parameters
Type | Name | Description |
---|---|---|
System.String | space | |
System.String | filename | |
System.Nullable<LangFlag> | flag |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |