QuickCopy & fix NoteEffects
This commit is contained in:
@@ -12,10 +12,10 @@ namespace Ichni.RhythmGame.ThemeBundles.Basic
|
||||
{
|
||||
Renderer noteMainRenderer;
|
||||
|
||||
public BasicNoteMissPale(NoteBase note)
|
||||
public BasicNoteMissPale(NoteVisualBase noteVisual)
|
||||
{
|
||||
this.note = note;
|
||||
this.noteVisual = note.noteVisual.GetComponent<BasicNoteVisual>();
|
||||
this.note = noteVisual.note;
|
||||
this.noteVisual = noteVisual;
|
||||
this.noteMainRenderer = noteVisual.noteMain.GetComponent<Renderer>();
|
||||
this.effectTime = 0.2f;
|
||||
}
|
||||
@@ -59,10 +59,10 @@ namespace Ichni.RhythmGame.ThemeBundles.Basic
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override EffectBase ConvertToGameType()
|
||||
|
||||
public override EffectBase ConvertToGameType(GameElement attachedGameElement)
|
||||
{
|
||||
return new BasicNoteMissPale(GameElement_BM.GetElement(attachedNoteID) as NoteBase);
|
||||
return new BasicNoteMissPale(attachedGameElement as NoteVisualBase);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user