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 UnityEngine;
|
||||||
using NaughtyBezierCurves;
|
|
||||||
using DG.Tweening;
|
|
||||||
|
|
||||||
using HeavenStudio.Util;
|
using HeavenStudio.Util;
|
||||||
using HeavenStudio.InputSystem;
|
using HeavenStudio.InputSystem;
|
||||||
|
|
||||||
|
|
||||||
namespace HeavenStudio.Games.Scripts_NailCarpenter
|
namespace HeavenStudio.Games.Scripts_NailCarpenter
|
||||||
{
|
{
|
||||||
public class LongNail : MonoBehaviour
|
public class LongNail : MonoBehaviour
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using NaughtyBezierCurves;
|
|
||||||
using DG.Tweening;
|
|
||||||
|
|
||||||
using HeavenStudio.Util;
|
using HeavenStudio.Util;
|
||||||
using HeavenStudio.InputSystem;
|
using HeavenStudio.InputSystem;
|
||||||
|
|
||||||
|
|
||||||
namespace HeavenStudio.Games.Scripts_NailCarpenter
|
namespace HeavenStudio.Games.Scripts_NailCarpenter
|
||||||
{
|
{
|
||||||
public class Nail : MonoBehaviour
|
public class Nail : MonoBehaviour
|
||||||
|
@ -27,7 +22,7 @@ namespace HeavenStudio.Games.Scripts_NailCarpenter
|
||||||
//wrong input
|
//wrong input
|
||||||
if (PlayerInput.CurrentControlStyle != InputController.ControlStyles.Touch)
|
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();
|
Update();
|
||||||
}
|
}
|
||||||
|
@ -45,7 +40,7 @@ namespace HeavenStudio.Games.Scripts_NailCarpenter
|
||||||
SoundByte.PlayOneShotGame("nailCarpenter/HammerWeak");
|
SoundByte.PlayOneShotGame("nailCarpenter/HammerWeak");
|
||||||
nailAnim.DoScaledAnimationAsync("nailHammered", 0.25f);
|
nailAnim.DoScaledAnimationAsync("nailHammered", 0.25f);
|
||||||
}
|
}
|
||||||
private void strongHammmerJust(PlayerActionEvent caller, float state)
|
private void StrongHammmerJust(PlayerActionEvent caller, float state)
|
||||||
{
|
{
|
||||||
game.ScoreMiss();
|
game.ScoreMiss();
|
||||||
game.Carpenter.DoScaledAnimationAsync("carpenterHit", 0.25f);
|
game.Carpenter.DoScaledAnimationAsync("carpenterHit", 0.25f);
|
||||||
|
|
|
@ -61,8 +61,6 @@ namespace HeavenStudio.Games.Loaders
|
||||||
|
|
||||||
namespace HeavenStudio.Games
|
namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Linq;
|
|
||||||
using Scripts_NailCarpenter;
|
using Scripts_NailCarpenter;
|
||||||
|
|
||||||
public class NailCarpenter : Minigame
|
public class NailCarpenter : Minigame
|
||||||
|
@ -118,7 +116,6 @@ namespace HeavenStudio.Games
|
||||||
public GameObject baseLongNail;
|
public GameObject baseLongNail;
|
||||||
public GameObject baseSweet;
|
public GameObject baseSweet;
|
||||||
public Animator Carpenter;
|
public Animator Carpenter;
|
||||||
// public Animator EyeAnim;
|
|
||||||
public Animator EffectExclamRed;
|
public Animator EffectExclamRed;
|
||||||
public Animator EffectExclamBlue;
|
public Animator EffectExclamBlue;
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using NaughtyBezierCurves;
|
|
||||||
using DG.Tweening;
|
|
||||||
|
|
||||||
using HeavenStudio.Util;
|
using HeavenStudio.Util;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue