remove unused stuff
This commit is contained in:
parent
5c0261b494
commit
f18cffb562
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using NaughtyBezierCurves;
|
||||
using DG.Tweening;
|
||||
|
||||
using HeavenStudio.Util;
|
||||
|
||||
|
|
Loading…
Reference in a new issue