diff --git a/Assets/MobileInput/Scripts/Editor/CrossPlatformInputInitialize.cs b/Assets/MobileInput/Scripts/Editor/CrossPlatformInputInitialize.cs index 175464fb675bfb2ac4adafec5ec9b1eb68acf415..cb35eeb36926632040b114331f2f88909312781c 100644 --- a/Assets/MobileInput/Scripts/Editor/CrossPlatformInputInitialize.cs +++ b/Assets/MobileInput/Scripts/Editor/CrossPlatformInputInitialize.cs @@ -98,7 +98,6 @@ namespace UnitySampleAssets.CrossPlatformInput.Inspector private static void SetEnabled(string defineName, bool enable, bool mobile) { - //Debug.Log("setting "+defineName+" to "+enable); foreach (var group in mobile ? mobileBuildTargetGroups : buildTargetGroups) { var defines = GetDefinesList(group); diff --git a/Assets/Scripts/Enemy/EnemyHealth.cs b/Assets/Scripts/Enemy/EnemyHealth.cs index ab809be19b7dadd94d2d3fdf85475cb71009fdda..6fcd3b8517680180f987d9c0443974fed83ef0a3 100644 --- a/Assets/Scripts/Enemy/EnemyHealth.cs +++ b/Assets/Scripts/Enemy/EnemyHealth.cs @@ -126,10 +126,6 @@ namespace Nightmare { GameObject orbInstance = Instantiate(orbPrefab, this.transform.position, Quaternion.identity); } - else - { - Debug.Log("Orb prefab is null"); - } } diff --git a/Assets/Scripts/LoadSlotButton.cs b/Assets/Scripts/LoadSlotButton.cs index 4190b4c4b141751ed49468138916277cf40dc116..542c688d102375f925bb16a9f78ee6711dc81569 100644 --- a/Assets/Scripts/LoadSlotButton.cs +++ b/Assets/Scripts/LoadSlotButton.cs @@ -56,8 +56,6 @@ public class LoadSlotButton : MonoBehaviour public void LoadGame() { DataPersistanceManager.loadedFileName = fileName; - Debug.Log(DataPersistanceManager.loadedFileName); - GameManager.startGame(); } } diff --git a/Assets/Scripts/Managers/CheatManager.cs b/Assets/Scripts/Managers/CheatManager.cs index d45815a676ec39328951bdf8dc1ea8646c0b79d2..1b8130ee71f243226eac6b0f92c050602571f5a7 100644 --- a/Assets/Scripts/Managers/CheatManager.cs +++ b/Assets/Scripts/Managers/CheatManager.cs @@ -184,7 +184,6 @@ public class CheatManager : MonoBehaviour private void ActivateKillPet() { GameObject[] enemyPets = GameObject.FindGameObjectsWithTag("EnemyPet"); - Debug.Log(enemyPets.Length); foreach (GameObject enemyPet in enemyPets) { EnemyPetHealth enemyPetHealth = enemyPet.GetComponent<EnemyPetHealth>(); diff --git a/Assets/Scripts/Managers/LevelManager.cs b/Assets/Scripts/Managers/LevelManager.cs index 20d54bb293508035bcd21cad21c6fbbcf5870f13..41d350c181690d6c44bdd73f83d3370ab3cb26dc 100644 --- a/Assets/Scripts/Managers/LevelManager.cs +++ b/Assets/Scripts/Managers/LevelManager.cs @@ -60,16 +60,12 @@ namespace Nightmare if (scene.name == "Shop") { TimerTextComp.gameObject.SetActive(false); - Debug.Log("Setting " + TimerTextComp.gameObject.name + " to inactive."); QuestTextComp.gameObject.SetActive(false); - Debug.Log("Setting " + QuestTextComp.gameObject.name + " to inactive."); } else { TimerTextComp.gameObject.SetActive(true); - Debug.Log("Setting " + TimerTextComp.gameObject.name + " to active."); QuestTextComp.gameObject.SetActive(true); - Debug.Log("Setting " + QuestTextComp.gameObject.name + " to active."); } playerMove.transform.position = playerRespawn; diff --git a/Assets/Scripts/Managers/QuestManager.cs b/Assets/Scripts/Managers/QuestManager.cs index bf492c579a5d8d15565a716947eed45dc08ffe51..35ee980037df5f32ec57edea3e5fda93bceb5de6 100644 --- a/Assets/Scripts/Managers/QuestManager.cs +++ b/Assets/Scripts/Managers/QuestManager.cs @@ -128,7 +128,6 @@ public class QuestManager : MonoBehaviour void rewardPlayer() { - Debug.Log("Player rewarded"); int reward = 200 * (lm.GetCurrLevel() + 1); playerCurr.add(reward); } diff --git a/Assets/Scripts/Pets/AllyPetHealth.cs b/Assets/Scripts/Pets/AllyPetHealth.cs index eeb2703e3c8bfaa5d3f821d74b5117ef8f1ad1ab..690ad1eb170cd420cf34e612c8801297b77907d4 100644 --- a/Assets/Scripts/Pets/AllyPetHealth.cs +++ b/Assets/Scripts/Pets/AllyPetHealth.cs @@ -66,7 +66,6 @@ namespace Nightmare if (isCheatFullHPPet) return; - Debug.Log("AllyPetHealth: " + currentHealth); currentHealth -= amount; } } diff --git a/Assets/Scripts/Pets/AttackingPetAction.cs b/Assets/Scripts/Pets/AttackingPetAction.cs index 29995a1c007856bb8996167531d6446dfd730c89..e885fe8c6aff8247b59ecc8d0ed3ee990eb3f295 100644 --- a/Assets/Scripts/Pets/AttackingPetAction.cs +++ b/Assets/Scripts/Pets/AttackingPetAction.cs @@ -33,7 +33,6 @@ namespace Nightmare { nearbyEnemies.Add(other.gameObject); } - Debug.Log("SKEEBS"); } void OnTriggerExit (Collider other) @@ -76,7 +75,6 @@ namespace Nightmare { timer = 0f; targetedEnemy.GetComponent<EnemyHealth>().TakeDamage(attackDamage, new Vector3()); - Debug.Log("Attacked"); } } } \ No newline at end of file diff --git a/Assets/Scripts/Pets/EnemyPetAction.cs b/Assets/Scripts/Pets/EnemyPetAction.cs index d3c259f87a389a045cfca1834d054289b3022784..93eee30b0ff76a7a80dbcc6ca5d4f4b137631fb1 100644 --- a/Assets/Scripts/Pets/EnemyPetAction.cs +++ b/Assets/Scripts/Pets/EnemyPetAction.cs @@ -14,14 +14,11 @@ namespace Nightmare { attack = GetComponentInParent<EnemyAttack>(); attack.Buff(); - Debug.Log("Buffed!"); } void OnDestroy() { attack.Debuff(); - Debug.Log("Debuffed!"); - } } } \ No newline at end of file diff --git a/Assets/Scripts/Pets/EnemyPetHealth.cs b/Assets/Scripts/Pets/EnemyPetHealth.cs index 9bc1559b45fd6ed0a2e9ed4fe675a683d7f6e4aa..a8ae6f78ef264431146ba4c90254038639ce0c8c 100644 --- a/Assets/Scripts/Pets/EnemyPetHealth.cs +++ b/Assets/Scripts/Pets/EnemyPetHealth.cs @@ -56,7 +56,6 @@ namespace Nightmare public void TakeDamage (int amount, Vector3 hitPoint) { - Debug.Log("Enemy Pet: " + currentHealth); if (!IsDead()) { // enemyAudio.Play(); diff --git a/Assets/Scripts/Pets/EnemyPetMovement.cs b/Assets/Scripts/Pets/EnemyPetMovement.cs index 4c51b6ba8cec502a663b1cc43bc1660df79d07fc..1f0d2ddc91f894b9455e325e257a9fabfb18a896 100644 --- a/Assets/Scripts/Pets/EnemyPetMovement.cs +++ b/Assets/Scripts/Pets/EnemyPetMovement.cs @@ -41,7 +41,6 @@ namespace Nightmare void OnTriggerEnter (Collider other) { - Debug.Log("OnTriggerEnter" + isPlayerInRange); if(other.CompareTag("Player")) { isPlayerInRange = true; @@ -81,7 +80,6 @@ namespace Nightmare void AvoidPlayer() { - Debug.Log("Avoiding Player"); GoToPosition(new Vector3(-player.position.x, -player.position.y, -player.position.z)); } diff --git a/Assets/Scripts/Pets/HealingPetAction.cs b/Assets/Scripts/Pets/HealingPetAction.cs index 3cbc83cf975a894651664ea1d4bbbf3c161dfcee..1cc0418f801abf2462f2ec7c3a0123bf28c1956d 100644 --- a/Assets/Scripts/Pets/HealingPetAction.cs +++ b/Assets/Scripts/Pets/HealingPetAction.cs @@ -70,7 +70,6 @@ namespace Nightmare timer = 0f; healHitPoint = Mathf.Min(healHitPoint, playerHealth.startingHealth - playerHealth.currentHealth); playerHealth.TakeDamage(-healHitPoint); - Debug.Log("Healed"); } } } \ No newline at end of file diff --git a/Assets/Scripts/Player/PlayerCurrency.cs b/Assets/Scripts/Player/PlayerCurrency.cs index 101037ddf14e4618aadc2041e135440f3fa33f63..032596eb196634aeb729d95c298eefcb174d18a1 100644 --- a/Assets/Scripts/Player/PlayerCurrency.cs +++ b/Assets/Scripts/Player/PlayerCurrency.cs @@ -22,7 +22,6 @@ public class PlayerCurrency : MonoBehaviour, IDataPersistance } balance -= nominal; - Debug.Log("Balance: " + balance); } public int Balance() diff --git a/Assets/Scripts/Weapons/Sword.cs b/Assets/Scripts/Weapons/Sword.cs index 4a3c4b20f2e67547a66178c436b59b6e23463c57..d46ee44ecac969f6d2dc551d54b9a96cc1ea05fd 100644 --- a/Assets/Scripts/Weapons/Sword.cs +++ b/Assets/Scripts/Weapons/Sword.cs @@ -61,7 +61,6 @@ public class Sword : Weapons if (enemyPetHealth != null) { // ... the enemy pet should take damage. - Debug.Log("SWORDD"); enemyPetHealth.TakeDamage(damagePerShot, shootHit.point); } } diff --git a/Assets/Shop.cs b/Assets/Shop.cs index 9ab0f459d68b93ed2592aaae0ab5aab770bfd218..c4849eb100a72ff7d64316f1dc399845a7975f59 100644 --- a/Assets/Shop.cs +++ b/Assets/Shop.cs @@ -23,7 +23,6 @@ public class Shop : MonoBehaviour if (other.gameObject.CompareTag("Player")) { shopManager.setAccessible(true); - Debug.Log("Player is nearby"); } } @@ -32,7 +31,6 @@ public class Shop : MonoBehaviour if (other.gameObject.CompareTag("Player")) { shopManager.setAccessible(false); - Debug.Log("Player is not nearby"); } } } diff --git a/Assets/TriggerTest.cs b/Assets/TriggerTest.cs index d758da83ad1b588c061d182b72aba7e922d6e2af..59b05ea44261a1c19798bf745c2680f93959a0d2 100644 --- a/Assets/TriggerTest.cs +++ b/Assets/TriggerTest.cs @@ -6,18 +6,6 @@ public class TriggerTest : MonoBehaviour { private void OnCollisionEnter(Collision other) { - Debug.Log("Collision happened with " + other.gameObject.name); - - Debug.Log("Tag: " + other.gameObject.tag); - Debug.Log("RigidBody: " + other.rigidbody.ToString()); - Debug.Log("Is Trigger: " + other.collider.isTrigger.ToString()); - - Debug.Log("Velocity: " + other.relativeVelocity.ToString()); - ContactPoint[] cp = other.contacts; - foreach (ContactPoint point in cp) - { - Debug.Log(point.point.ToString()); - } } }