Files
bansonic_beta_main/Assets/scripts/gamePlay_gameplay/BaseNote.cs
T

19 lines
497 B
C#

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;
}
}