public bool LoadEvent()
{
if(this.eventFile != "" && this.gameEvent.LoadEventData(this.GetEventFile()))
{
if(Application.isPlaying)
{
this.LoadResources();
this.gameEvent.prefab = this.prefab;
this.gameEvent.audioClip = this.audioClip;
}
this.fileOk = true;
this.timer = 0;
this.eventStarted = false;
}
return this.fileOk;
}