Beispiel #1
0
 public static ImageLoadManager GetIntance()
 {
     if (Instance == null)
     {
         Instance = new ImageLoadManager();
     }
     return(Instance);
 }
Beispiel #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();
        }
Beispiel #3
0
 void OnApplicationQuit()
 {
     ImageLoadManager.OnQuit();
 }
Beispiel #4
0
 void OnDisable()
 {
     ImageLoadManager.OnQuit();
 }
Beispiel #5
0
 // Update is called once per frame
 void Update()
 {
     ImageLoadManager.OnUpdate();
 }
Beispiel #6
0
 public void StartLoad()
 {
     ImageLoadManager.AsyncLoadImage(this);
 }