Example #1
0
 public static ImageLoadManager GetIntance()
 {
     if (Instance == null)
     {
         Instance = new ImageLoadManager();
     }
     return(Instance);
 }
Example #2
0
        public LocalImageLoader(string localUrl, bool isAndroid, OnRequestFinishedDelegate callback)
        {
//			Debug.Log ("construct LocalImageLoader: ");
            this.Callback      = callback;
            this.IsAlive       = false;
            this.Url           = localUrl;
            this.IsAndroidType = isAndroid;
            imageLoadManager   = ImageLoadManager.GetIntance();
        }
Example #3
0
 void OnApplicationQuit()
 {
     ImageLoadManager.OnQuit();
 }
Example #4
0
 void OnDisable()
 {
     ImageLoadManager.OnQuit();
 }
Example #5
0
 // Update is called once per frame
 void Update()
 {
     ImageLoadManager.OnUpdate();
 }
Example #6
0
 public void StartLoad()
 {
     ImageLoadManager.AsyncLoadImage(this);
 }