diff --git a/Assets/Scripts/GenericPlayerManager.cs b/Assets/Scripts/GenericPlayerManager.cs index 787516e..54c54ae 100644 --- a/Assets/Scripts/GenericPlayerManager.cs +++ b/Assets/Scripts/GenericPlayerManager.cs @@ -524,9 +524,9 @@ public abstract class GenericPlayerManager : MonoBehaviour { loadedAssetBundles.Add(aniName); loaded = true; - Debug.Log("Bundle \"" + aniName + "\" loaded!"); + Debug.Log("GPM:lAP(" + gloss + "): Bundle \"" + aniName + "\" loaded!"); } - else UnityEngine.Debug.Log ("Sinal \"" + aniName + "\" foi não carregado corretamente."); + else UnityEngine.Debug.Log ("GPM:lAP(" + gloss + "): Sinal \"" + aniName + "\" foi não carregado corretamente."); } } else onConnectionError(gloss, aniName); @@ -564,7 +564,7 @@ public abstract class GenericPlayerManager : MonoBehaviour { if ( ! nonexistent) nonexistentAssetBundles.Add(aniName); - UnityEngine.Debug.Log("~~ To spell: " + aniName); + UnityEngine.Debug.Log("GPM:lAP(" + gloss + "): To spell: " + aniName); if (this.flags.Contains(aniName) || this.intervalAnimations.Contains(aniName)) { @@ -604,6 +604,8 @@ public abstract class GenericPlayerManager : MonoBehaviour { { lock (LOCKER_PLAYING) { + UnityEngine.Debug.Log("GPM:hS()"); + this.randomAnimations.lockFor("handleStates"); this.playing = true; onPlayingStateChange(); @@ -628,6 +630,7 @@ public abstract class GenericPlayerManager : MonoBehaviour { // Se estiver sendo reproduzida if (COMPONENT_ANIMATION.IsPlaying(reference.name)) { + Debug.Log("GPM:hS(): Playing " + reference.name); this.subtitles.setText(reference.subtitle); // Animação seguinte @@ -681,6 +684,7 @@ public abstract class GenericPlayerManager : MonoBehaviour { lock (this.animQueue) { isNotEmpty = this.animQueue.Count > 0; } } + UnityEngine.Debug.Log("GPM:sH(): All done."); this.subtitles.setText(""); diff --git a/Assets/Scripts/PlayerManager.cs b/Assets/Scripts/PlayerManager.cs index 95b7fe1..6621008 100644 --- a/Assets/Scripts/PlayerManager.cs +++ b/Assets/Scripts/PlayerManager.cs @@ -82,12 +82,12 @@ public class PlayerManager : GenericPlayerManager { if ( ! File.Exists(assetPath)) { - UnityEngine.Debug.Log("PM:lAB(" + aniName + "): file at " + assetPath + "not exists"); + UnityEngine.Debug.Log("PM:lAB(" + aniName + "): File at " + assetPath + " doesn't exists"); return null; } try { - UnityEngine.Debug.Log("PM:lAB(" + aniName + "): loading file at " + assetPath); + UnityEngine.Debug.Log("PM:lAB(" + aniName + "): Loading file at " + assetPath); WWW www = new WWW("file://" + assetPath); return www; } catch (Exception e) { -- libgit2 0.21.2