Fan Club: remove unused file

This commit is contained in:
minenice55 2022-03-17 12:20:11 -04:00
parent f69e69c41a
commit cd00c13fa7
2 changed files with 0 additions and 97 deletions

View file

@ -1,86 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using HeavenStudio.Util;
namespace HeavenStudio.Games.Scripts_FanClub
{
public class NtrIdolInput : PlayerActionObject
{
public float startBeat;
public int type;
public bool doCharge = false;
private bool hit = false;
private bool hasHit = false;
void Start()
{
PlayerActionInit(gameObject, startBeat);
}
public override void OnAce()
{
Hit(true, type, true);
}
void Update()
{
if (Conductor.instance.GetPositionFromBeat(startBeat, 1.25f) >= 1)
{
FanClub.instance.AngerOnMiss();
CleanUp();
}
if (!hit && Conductor.instance.GetPositionFromBeat(startBeat, 1) >= 1)
{
hit = true;
if (hasHit) CleanUp();
}
float normalizedBeat = Conductor.instance.GetPositionFromBeat(startBeat, 1);
StateCheck(normalizedBeat);
if (PlayerInput.Pressed() && type == 0)
{
if (state.perfect)
{
Hit(true);
} else if (state.notPerfect())
{
Hit(false);
}
}
if (PlayerInput.PressedUp() && type == 1)
{
if (state.perfect)
{
Hit(true, type);
} else if (state.notPerfect())
{
Hit(false, type);
}
}
}
public void Hit(bool _hit, int type = 0, bool fromAutoplay = false)
{
if (!hasHit)
{
if (type == 0)
FanClub.instance.Player.ClapStart(_hit, true, doCharge, fromAutoplay);
else if (type == 1)
FanClub.instance.Player.JumpStart(_hit, true, fromAutoplay);
hasHit = true;
if (hit) CleanUp();
}
}
public void CleanUp()
{
Destroy(gameObject);
}
}
}

View file

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 4d6294b6066d1254aa9d41878165a68e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: