2025-01-27 10:29:38 -05:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using Dreamteck.Splines;
|
|
|
|
|
|
using Sirenix.OdinInspector;
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Ichni.RhythmGame
|
|
|
|
|
|
{
|
|
|
|
|
|
public class NoteBase : BaseElement
|
|
|
|
|
|
{
|
|
|
|
|
|
[Title("Basic Info")]
|
|
|
|
|
|
public float exactJudgeTime;
|
|
|
|
|
|
|
|
|
|
|
|
[Title("Track Info")]
|
|
|
|
|
|
public bool isOnTrack;
|
|
|
|
|
|
public Track track;
|
|
|
|
|
|
public SplinePositioner trackPositioner;
|
|
|
|
|
|
|
|
|
|
|
|
// [Title("NoteVisual")]
|
|
|
|
|
|
// public GeneralNoteVisual noteVisual;
|
|
|
|
|
|
//
|
2025-01-27 22:11:24 -05:00
|
|
|
|
[Title("NoteEffect")]
|
|
|
|
|
|
[Tooltip("生成Note时的特效")]
|
|
|
|
|
|
public EffectSubmodule generateEffects;
|
|
|
|
|
|
[Tooltip("Note被判定时的特效,不包括Miss")]
|
|
|
|
|
|
public EffectSubmodule generalJudgeEffects;
|
|
|
|
|
|
[Tooltip("Note被Perfect判定时的特效")]
|
|
|
|
|
|
public EffectSubmodule perfectJudgeEffects;
|
|
|
|
|
|
[Tooltip("Note被Good判定时的特效")]
|
|
|
|
|
|
public EffectSubmodule goodJudgeEffects;
|
|
|
|
|
|
[Tooltip("Note被Bad判定时的特效")]
|
|
|
|
|
|
public EffectSubmodule badJudgeEffects;
|
|
|
|
|
|
[Tooltip("Note未被判定时的特效,即Miss")]
|
|
|
|
|
|
public EffectSubmodule missJudgeEffects;
|
|
|
|
|
|
|
|
|
|
|
|
[Title("Judge Info")]
|
|
|
|
|
|
public NoteJudgeSubmodule noteJudgeSubmodule;
|
2025-01-27 10:29:38 -05:00
|
|
|
|
|
|
|
|
|
|
[Title("In-Game Info")]
|
|
|
|
|
|
public Vector2 noteScreenPosition;
|
|
|
|
|
|
public bool isJudged;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|