Exemplo n.º 1
0
        public void Complete(object obj, float timeToLoad)
        {
            MCSGameObjectEventAgs args = new MCSGameObjectEventAgs();

            args.MCSObject = obj;
            args.TimeToLoadInMilliseconds = timeToLoad;
            DownloadComplete(args);
        }
Exemplo n.º 2
0
        protected virtual void DownloadComplete(MCSGameObjectEventAgs e)
        {
            EventHandler <MCSGameObjectEventAgs> handler = OnDownloadComplete;

            if (handler != null)
            {
                handler(this, e);
            }
        }