2021-12-24 03:36:16 +00:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace RhythmHeavenMania.Games
|
|
|
|
{
|
|
|
|
public class Minigame : MonoBehaviour
|
|
|
|
{
|
2021-12-25 12:16:40 +00:00
|
|
|
public static float earlyTime = 0.77f, perfectTime = 0.89f, lateTime = 1.09f, endTime = 1.15f;
|
|
|
|
|
|
|
|
[System.Serializable]
|
|
|
|
public class Eligible
|
|
|
|
{
|
|
|
|
public GameObject gameObject;
|
|
|
|
public bool early;
|
|
|
|
public bool perfect;
|
|
|
|
public bool late;
|
|
|
|
}
|
2021-12-25 02:37:03 +00:00
|
|
|
|
|
|
|
// hopefully these will fix the lowbpm problem
|
|
|
|
public static float EarlyTime()
|
|
|
|
{
|
|
|
|
return earlyTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static float PerfectTime()
|
|
|
|
{
|
|
|
|
return perfectTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static float LateTime()
|
|
|
|
{
|
|
|
|
return lateTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static float EndTime()
|
|
|
|
{
|
|
|
|
return endTime;
|
|
|
|
}
|
2021-12-24 23:41:35 +00:00
|
|
|
|
2021-12-24 03:36:16 +00:00
|
|
|
public int firstEnable = 0;
|
|
|
|
|
|
|
|
public virtual void OnGameSwitch()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2021-12-26 05:11:54 +00:00
|
|
|
|
|
|
|
public virtual void OnTimeChange()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2021-12-24 03:36:16 +00:00
|
|
|
}
|
|
|
|
}
|