public void LoadResources()
{
for(int i=0; i<this.prefab.Length; i++)
{
if(this.prefab[i] == null && this.prefabName[i] != null &&
this.prefabName[i] != "")
{
this.prefab[i] = (GameObject)Resources.Load(GlobalEventData.PREFAB_PATH+
this.prefabName[i], typeof(GameObject));
}
}
for(int i=0; i<this.audioClip.Length; i++)
{
if(this.audioClip[i] == null && this.audioName[i] != null &&
this.audioName[i] != "")
{
this.audioClip[i] = (AudioClip)Resources.Load(GlobalEventData.AUDIO_PATH+
this.audioName[i], typeof(AudioClip));
}
}
}