mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 19:55:09 +00:00
48 lines
No EOL
1,010 B
C#
48 lines
No EOL
1,010 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace RhythmHeavenMania.Games
|
|
{
|
|
public class Minigame : MonoBehaviour
|
|
{
|
|
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;
|
|
}
|
|
|
|
// 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;
|
|
}
|
|
|
|
public int firstEnable = 0;
|
|
|
|
public virtual void OnGameSwitch()
|
|
{
|
|
|
|
}
|
|
}
|
|
} |