public void Complete(object obj, float timeToLoad) { MCSGameObjectEventAgs args = new MCSGameObjectEventAgs(); args.MCSObject = obj; args.TimeToLoadInMilliseconds = timeToLoad; DownloadComplete(args); }
protected virtual void DownloadComplete(MCSGameObjectEventAgs e) { EventHandler <MCSGameObjectEventAgs> handler = OnDownloadComplete; if (handler != null) { handler(this, e); } }