public void Load()
{
if (name == "") return;
string fullPath = "";
#if UNITY_EDITOR
fullPath = "file://" + Application.dataPath + "/Resources/ExternalFiles" + dataPath;
#elif UNITY_STANDALONE
if (GameManager.Instance.standaloneBetaMode)
{
fullPath = "file://" + Application.dataPath + dataPath;
}
else
{
TextAsset download = Resources.Load("ExternalFiles"+dataPathStandalone) as TextAsset;
Initialize (download.text);
return;
}
#elif UNITY_WEBPLAYER
fullPath = Application.dataPath + dataPath;
#endif
DBModuleManager.Instance.Event(
"CONFIG",
fullPath,
name);
}