From 6f84849e9c2270c778c20c786c24b349e70d2cf4 Mon Sep 17 00:00:00 2001 From: Salomo309 <109785084+Salomo309@users.noreply.github.com> Date: Fri, 10 May 2024 14:14:23 +0700 Subject: [PATCH] del: nightmare --- Assets/Scripts/Enemy/Keroco/KerocoHealth.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Assets/Scripts/Enemy/Keroco/KerocoHealth.cs b/Assets/Scripts/Enemy/Keroco/KerocoHealth.cs index 1189a15..6f20a5f 100644 --- a/Assets/Scripts/Enemy/Keroco/KerocoHealth.cs +++ b/Assets/Scripts/Enemy/Keroco/KerocoHealth.cs @@ -1,9 +1,9 @@ using UnityEngine; using System.Collections; +using Nightmare; -namespace Nightmare -{ - public class Keroco : MonoBehaviour + + public class KerocoHealth : MonoBehaviour { public int startingHealth = 100; public float sinkSpeed = 2.5f; @@ -17,7 +17,7 @@ namespace Nightmare CapsuleCollider capsuleCollider; EnemyMovement enemyMovement; - void Awake() + void Awake() { anim = GetComponent<Animator>(); enemyAudio = GetComponent<AudioSource>(); @@ -98,4 +98,3 @@ namespace Nightmare return currentHealth; } } -} -- GitLab