diff --git a/Assets/Scripts/Games/NailCarpenter/LongNail.cs b/Assets/Scripts/Games/NailCarpenter/LongNail.cs index f9eb595ca..734de7f93 100644 --- a/Assets/Scripts/Games/NailCarpenter/LongNail.cs +++ b/Assets/Scripts/Games/NailCarpenter/LongNail.cs @@ -1,13 +1,8 @@ -using System.Collections; -using System.Collections.Generic; using UnityEngine; -using NaughtyBezierCurves; -using DG.Tweening; using HeavenStudio.Util; using HeavenStudio.InputSystem; - namespace HeavenStudio.Games.Scripts_NailCarpenter { public class LongNail : MonoBehaviour diff --git a/Assets/Scripts/Games/NailCarpenter/Nail.cs b/Assets/Scripts/Games/NailCarpenter/Nail.cs index f4837f49d..b9e83c1de 100644 --- a/Assets/Scripts/Games/NailCarpenter/Nail.cs +++ b/Assets/Scripts/Games/NailCarpenter/Nail.cs @@ -1,13 +1,8 @@ -using System.Collections; -using System.Collections.Generic; using UnityEngine; -using NaughtyBezierCurves; -using DG.Tweening; using HeavenStudio.Util; using HeavenStudio.InputSystem; - namespace HeavenStudio.Games.Scripts_NailCarpenter { public class Nail : MonoBehaviour @@ -27,7 +22,7 @@ namespace HeavenStudio.Games.Scripts_NailCarpenter //wrong input if (PlayerInput.CurrentControlStyle != InputController.ControlStyles.Touch) { - game.ScheduleUserInput(targetBeat, 0, NailCarpenter.InputAction_AltPress, strongHammmerJust, null, null); + game.ScheduleUserInput(targetBeat, 0, NailCarpenter.InputAction_AltPress, StrongHammmerJust, null, null); } Update(); } @@ -45,7 +40,7 @@ namespace HeavenStudio.Games.Scripts_NailCarpenter SoundByte.PlayOneShotGame("nailCarpenter/HammerWeak"); nailAnim.DoScaledAnimationAsync("nailHammered", 0.25f); } - private void strongHammmerJust(PlayerActionEvent caller, float state) + private void StrongHammmerJust(PlayerActionEvent caller, float state) { game.ScoreMiss(); game.Carpenter.DoScaledAnimationAsync("carpenterHit", 0.25f); diff --git a/Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs b/Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs index f89f1c021..21d6944d5 100644 --- a/Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs +++ b/Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs @@ -61,8 +61,6 @@ namespace HeavenStudio.Games.Loaders namespace HeavenStudio.Games { - using System.Diagnostics; - using System.Linq; using Scripts_NailCarpenter; public class NailCarpenter : Minigame @@ -118,7 +116,6 @@ namespace HeavenStudio.Games public GameObject baseLongNail; public GameObject baseSweet; public Animator Carpenter; - // public Animator EyeAnim; public Animator EffectExclamRed; public Animator EffectExclamBlue; diff --git a/Assets/Scripts/Games/NailCarpenter/Sweet.cs b/Assets/Scripts/Games/NailCarpenter/Sweet.cs index f6a984b1b..d687a919a 100644 --- a/Assets/Scripts/Games/NailCarpenter/Sweet.cs +++ b/Assets/Scripts/Games/NailCarpenter/Sweet.cs @@ -1,8 +1,4 @@ -using System.Collections; -using System.Collections.Generic; using UnityEngine; -using NaughtyBezierCurves; -using DG.Tweening; using HeavenStudio.Util;