Configuration loader
Only one instance of this object is needed in the application
You should set AsyncMode and ConfigPath/ConfigUrl
After that you don't work with it directly
but with Configuration.Instance.Application, which is loaded by ConfigLoader
You should subscribe to Configuration.INITIALIZED event which indicates that configuration is built
and then start working with it

C# | Visual Basic | Visual C++ |
public class ConfigLoader : MonoBehaviour
Public Class ConfigLoader _ Inherits MonoBehaviour
public ref class ConfigLoader : public MonoBehaviour

All Members | Constructors | Methods | Properties | Fields | |
Icon | Member | Description |
---|---|---|
![]() | ConfigLoader()()()() | Initializes a new instance of the ConfigLoader class |
![]() | active | Obsolete. (Inherited from Component.) |
![]() | animation | (Inherited from Component.) |
![]() | AsyncMode |
Loader can load config.xml in 2 fashions:
1) async mode, e.g. loading config from URL
2) sync mode, e.g. loading from Resources
|
![]() | audio | (Inherited from Component.) |
![]() | BroadcastMessage(String, Object, SendMessageOptions) | (Inherited from Component.) |
![]() | BroadcastMessage(String, Object) | (Inherited from Component.) |
![]() | BroadcastMessage(String) | (Inherited from Component.) |
![]() | BroadcastMessage(String, SendMessageOptions) | (Inherited from Component.) |
![]() | CacheBuster |
Should I never load from cache
|
![]() | camera | (Inherited from Component.) |
![]() | CancelInvoke()()()() | (Inherited from MonoBehaviour.) |
![]() | CancelInvoke(String) | (Inherited from MonoBehaviour.) |
![]() | collider | (Inherited from Component.) |
![]() | collider2D | (Inherited from Component.) |
![]() | CompareTag(String) | (Inherited from Component.) |
![]() | ConfigPath |
Used if AsyncMode is false
The path in the Resources forder (without extension)
|
![]() | ConfigUrl |
Used if AsyncMode is true
Full config URL (including the ".xml" extension)
|
![]() | constantForce | (Inherited from Component.) |
![]() ![]() | DebugMode | |
![]() | EditorConfigUrl |
Used if AsyncMode is true in Editor
Full config URL (including the ".xml" extension)
|
![]() | enabled | (Inherited from Behaviour.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() ![]() | FaultHandler | |
![]() | Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | gameObject | (Inherited from Component.) |
![]() | GetComponent(Type) | (Inherited from Component.) |
![]() | GetComponent``1()()()() | (Inherited from Component.) |
![]() | GetComponent(String) | (Inherited from Component.) |
![]() | GetComponentInChildren(Type) | (Inherited from Component.) |
![]() | GetComponentInChildren``1()()()() | (Inherited from Component.) |
![]() | GetComponents(Type) | (Inherited from Component.) |
![]() | GetComponents``1()()()() | (Inherited from Component.) |
![]() | GetComponentsInChildren(Type) | (Inherited from Component.) |
![]() | GetComponentsInChildren(Type, Boolean) | (Inherited from Component.) |
![]() | GetComponentsInChildren``1(Boolean) | (Inherited from Component.) |
![]() | GetComponentsInChildren``1()()()() | (Inherited from Component.) |
![]() | GetHashCode()()()() | (Inherited from Object.) |
![]() | GetInstanceID()()()() | (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | guiElement | Obsolete. (Inherited from Component.) |
![]() | guiText | (Inherited from Component.) |
![]() | guiTexture | (Inherited from Component.) |
![]() | hideFlags | (Inherited from Object.) |
![]() | hingeJoint | (Inherited from Component.) |
![]() ![]() | Instance | |
![]() | Invoke(String, Single) | (Inherited from MonoBehaviour.) |
![]() | InvokeRepeating(String, Single, Single) | (Inherited from MonoBehaviour.) |
![]() | IsInvoking(String) | (Inherited from MonoBehaviour.) |
![]() | IsInvoking()()()() | (Inherited from MonoBehaviour.) |
![]() | light | (Inherited from Component.) |
![]() | Load()()()() | |
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | name | (Inherited from Object.) |
![]() | networkView | (Inherited from Component.) |
![]() | particleEmitter | (Inherited from Component.) |
![]() | particleSystem | (Inherited from Component.) |
![]() | renderer | (Inherited from Component.) |
![]() ![]() | ResultHandler | |
![]() | rigidbody | (Inherited from Component.) |
![]() | rigidbody2D | (Inherited from Component.) |
![]() | SendMessage(String, Object, SendMessageOptions) | (Inherited from Component.) |
![]() | SendMessage(String, Object) | (Inherited from Component.) |
![]() | SendMessage(String) | (Inherited from Component.) |
![]() | SendMessage(String, SendMessageOptions) | (Inherited from Component.) |
![]() | SendMessageUpwards(String, Object, SendMessageOptions) | (Inherited from Component.) |
![]() | SendMessageUpwards(String, Object) | (Inherited from Component.) |
![]() | SendMessageUpwards(String) | (Inherited from Component.) |
![]() | SendMessageUpwards(String, SendMessageOptions) | (Inherited from Component.) |
![]() | StartCoroutine(IEnumerator) | (Inherited from MonoBehaviour.) |
![]() | StartCoroutine(String, Object) | (Inherited from MonoBehaviour.) |
![]() | StartCoroutine(String) | (Inherited from MonoBehaviour.) |
![]() | StartCoroutine_Auto(IEnumerator) | (Inherited from MonoBehaviour.) |
![]() | StopAllCoroutines()()()() | (Inherited from MonoBehaviour.) |
![]() | StopCoroutine(String) | (Inherited from MonoBehaviour.) |
![]() | tag | (Inherited from Component.) |
![]() | ToString()()()() | (Inherited from Object.) |
![]() | transform | (Inherited from Component.) |
![]() | useGUILayout | (Inherited from MonoBehaviour.) |

Object | |||||
![]() | Object | ||||
![]() | Component | ||||
![]() | Behaviour | ||||
![]() | MonoBehaviour | ||||
![]() | ConfigLoader |