Commit b565c376c2b6f197104b30657444ea15761efd41

Authored by Mateus Lustosa
1 parent f13a7276
Exists in devel

LOG

Assets/Scripts/GenericPlayerManager.cs
@@ -524,9 +524,9 @@ public abstract class GenericPlayerManager : MonoBehaviour { @@ -524,9 +524,9 @@ public abstract class GenericPlayerManager : MonoBehaviour {
524 loadedAssetBundles.Add(aniName); 524 loadedAssetBundles.Add(aniName);
525 loaded = true; 525 loaded = true;
526 526
527 - Debug.Log("Bundle \"" + aniName + "\" loaded!"); 527 + Debug.Log("GPM:lAP(" + gloss + "): Bundle \"" + aniName + "\" loaded!");
528 } 528 }
529 - else UnityEngine.Debug.Log ("Sinal \"" + aniName + "\" foi não carregado corretamente."); 529 + else UnityEngine.Debug.Log ("GPM:lAP(" + gloss + "): Sinal \"" + aniName + "\" foi não carregado corretamente.");
530 } 530 }
531 } 531 }
532 else onConnectionError(gloss, aniName); 532 else onConnectionError(gloss, aniName);
@@ -564,7 +564,7 @@ public abstract class GenericPlayerManager : MonoBehaviour { @@ -564,7 +564,7 @@ public abstract class GenericPlayerManager : MonoBehaviour {
564 if ( ! nonexistent) 564 if ( ! nonexistent)
565 nonexistentAssetBundles.Add(aniName); 565 nonexistentAssetBundles.Add(aniName);
566 566
567 - UnityEngine.Debug.Log("~~ To spell: " + aniName); 567 + UnityEngine.Debug.Log("GPM:lAP(" + gloss + "): To spell: " + aniName);
568 568
569 if (this.flags.Contains(aniName) || this.intervalAnimations.Contains(aniName)) 569 if (this.flags.Contains(aniName) || this.intervalAnimations.Contains(aniName))
570 { 570 {
@@ -604,6 +604,8 @@ public abstract class GenericPlayerManager : MonoBehaviour { @@ -604,6 +604,8 @@ public abstract class GenericPlayerManager : MonoBehaviour {
604 { 604 {
605 lock (LOCKER_PLAYING) 605 lock (LOCKER_PLAYING)
606 { 606 {
  607 + UnityEngine.Debug.Log("GPM:hS()");
  608 +
607 this.randomAnimations.lockFor("handleStates"); 609 this.randomAnimations.lockFor("handleStates");
608 this.playing = true; 610 this.playing = true;
609 onPlayingStateChange(); 611 onPlayingStateChange();
@@ -628,6 +630,7 @@ public abstract class GenericPlayerManager : MonoBehaviour { @@ -628,6 +630,7 @@ public abstract class GenericPlayerManager : MonoBehaviour {
628 // Se estiver sendo reproduzida 630 // Se estiver sendo reproduzida
629 if (COMPONENT_ANIMATION.IsPlaying(reference.name)) 631 if (COMPONENT_ANIMATION.IsPlaying(reference.name))
630 { 632 {
  633 + Debug.Log("GPM:hS(): Playing " + reference.name);
631 this.subtitles.setText(reference.subtitle); 634 this.subtitles.setText(reference.subtitle);
632 635
633 // Animação seguinte 636 // Animação seguinte
@@ -681,6 +684,7 @@ public abstract class GenericPlayerManager : MonoBehaviour { @@ -681,6 +684,7 @@ public abstract class GenericPlayerManager : MonoBehaviour {
681 684
682 lock (this.animQueue) { isNotEmpty = this.animQueue.Count > 0; } 685 lock (this.animQueue) { isNotEmpty = this.animQueue.Count > 0; }
683 } 686 }
  687 + UnityEngine.Debug.Log("GPM:sH(): All done.");
684 688
685 this.subtitles.setText(""); 689 this.subtitles.setText("");
686 690
Assets/Scripts/PlayerManager.cs
@@ -82,12 +82,12 @@ public class PlayerManager : GenericPlayerManager { @@ -82,12 +82,12 @@ public class PlayerManager : GenericPlayerManager {
82 82
83 if ( ! File.Exists(assetPath)) 83 if ( ! File.Exists(assetPath))
84 { 84 {
85 - UnityEngine.Debug.Log("PM:lAB(" + aniName + "): file at " + assetPath + "not exists"); 85 + UnityEngine.Debug.Log("PM:lAB(" + aniName + "): File at " + assetPath + " doesn't exists");
86 return null; 86 return null;
87 } 87 }
88 88
89 try { 89 try {
90 - UnityEngine.Debug.Log("PM:lAB(" + aniName + "): loading file at " + assetPath); 90 + UnityEngine.Debug.Log("PM:lAB(" + aniName + "): Loading file at " + assetPath);
91 WWW www = new WWW("file://" + assetPath); 91 WWW www = new WWW("file://" + assetPath);
92 return www; 92 return www;
93 } catch (Exception e) { 93 } catch (Exception e) {