QuickCopy & fix NoteEffects
This commit is contained in:
@@ -13,10 +13,10 @@ namespace Ichni.RhythmGame.ThemeBundles.Basic
|
||||
{
|
||||
private GameObject effectRing;
|
||||
|
||||
public BasicNoteGoodBurst(NoteBase note)
|
||||
public BasicNoteGoodBurst(NoteVisualBase noteVisual)
|
||||
{
|
||||
this.note = note;
|
||||
this.noteVisual = note.noteVisual.GetComponent<BasicNoteVisual>();
|
||||
this.note = noteVisual.note;
|
||||
this.noteVisual = noteVisual;
|
||||
this.effectRing = noteVisual.effectPartList[0];
|
||||
this.effectTime = 0.1f;
|
||||
}
|
||||
@@ -64,9 +64,9 @@ namespace Ichni.RhythmGame.ThemeBundles.Basic
|
||||
|
||||
}
|
||||
|
||||
public override EffectBase ConvertToGameType()
|
||||
public override EffectBase ConvertToGameType(GameElement attachedGameElement)
|
||||
{
|
||||
return new BasicNoteGoodBurst(GameElement_BM.GetElement(attachedNoteID) as NoteBase);
|
||||
return new BasicNoteGoodBurst(attachedGameElement as NoteVisualBase);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user