68 lines
2.3 KiB
C#
68 lines
2.3 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class gameplay_global : MonoBehaviour
|
|
{
|
|
public static gameplay_global Instance; // Documentation text normalized.
|
|
|
|
public bool game_isStarted = false; // Documentation text normalized.
|
|
public bool game_isPaused = false; // Documentation text normalized.
|
|
public bool game_isEnded = false; // Documentation text normalized.
|
|
|
|
public bool k1_pressed = false; // Documentation text normalized.
|
|
public bool k2_pressed = false;
|
|
public bool k3_pressed = false;
|
|
public bool k4_pressed = false;
|
|
public bool k5_pressed = false;
|
|
|
|
public bool k1_inJudgeZone = false;// Documentation text normalized.
|
|
public bool k2_inJudgeZone = false;
|
|
public bool k3_inJudgeZone = false;
|
|
public bool k4_inJudgeZone = false;
|
|
public bool k5_inJudgeZone = false;
|
|
|
|
|
|
public string[] notes;
|
|
public string songName;
|
|
public int difficulty_ID;
|
|
public string difficulty_Name;
|
|
|
|
public float startTime; // Documentation text normalized.
|
|
public float streamMultiply = 5f; // Documentation text normalized.
|
|
public float offset = -0.2f; // Documentation text normalized.
|
|
public float lifeTime = 0.15f; // Documentation text normalized.
|
|
public float top_position_Y; // Documentation text normalized.
|
|
public int perfectScore;// Documentation text normalized.
|
|
public int goodScore;// Documentation text normalized.
|
|
public int score;// Documentation text normalized.
|
|
public float multiNoteOffset = 0.26f;// Documentation text normalized.
|
|
public int combo = 0;// Documentation text normalized.
|
|
public int noteSum = 0;// Documentation text normalized.
|
|
public int perfectNum = 0;// Documentation text normalized.
|
|
public int goodNum = 0;// Documentation text normalized.
|
|
public int missNum = 0;// Documentation text normalized.
|
|
public Vector3 k1Pos, k2Pos, k3Pos, k4Pos; // Documentation text normalized.
|
|
public KeyCode key1 = KeyCode.D;
|
|
public KeyCode key2 = KeyCode.F;
|
|
public KeyCode key3 = KeyCode.J;
|
|
public KeyCode key4 = KeyCode.K;
|
|
|
|
// Start is called before the first frame update
|
|
private void Awake()
|
|
{
|
|
|
|
}
|
|
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|