original ver 25/06/01
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using UnityEngine;
|
||||
|
||||
public abstract class BaseNote : MonoBehaviour
|
||||
{
|
||||
public int TrackIndex { get; protected set; }
|
||||
public string NoteColor { get; protected set; }
|
||||
public float Speed { get; protected set; }
|
||||
protected float hitTime;
|
||||
|
||||
public virtual void Initialize(int trackIndex, string noteColor, float speed, float hitTime)
|
||||
{
|
||||
TrackIndex = trackIndex;
|
||||
NoteColor = noteColor;
|
||||
Speed = speed;
|
||||
this.hitTime = hitTime;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user