QuickCopy & fix NoteEffects
This commit is contained in:
@@ -45,7 +45,8 @@ namespace Ichni.RhythmGame
|
||||
List<EffectBase> effectList = new List<EffectBase>();
|
||||
foreach (var effectBM in effect.Value)
|
||||
{
|
||||
effectList.Add(effectBM.ConvertToGameType());
|
||||
Debug.Log(attachedGameElement.GetType().ToString());
|
||||
effectList.Add(effectBM.ConvertToGameType(attachedGameElement));
|
||||
}
|
||||
effectCollection.Add(effect.Key, effectList);
|
||||
}
|
||||
@@ -283,7 +284,7 @@ namespace Ichni.RhythmGame
|
||||
/// 转换为游戏类
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public abstract EffectBase ConvertToGameType();
|
||||
public abstract EffectBase ConvertToGameType(GameElement attachedGameElement);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user