fix
This commit is contained in:
@@ -16,12 +16,12 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
public MeshGenerator meshGenerator;
|
||||
public SplinePositioner headPoint, tailPoint;
|
||||
|
||||
public static DTMNoteVisualHold GenerateElement(string elementName, Guid id, List<string> tags,
|
||||
bool isFirstGenerated, GameElement parentElement, string themeBundleName, string objectName)
|
||||
public new static DTMNoteVisualHold GenerateElement(string elementName, Guid id, List<string> tags,
|
||||
bool isFirstGenerated, string themeBundleName, string objectName, GameElement parentElement, bool isHighlighted)
|
||||
{
|
||||
DTMNoteVisualHold noteVisualHold = SubstantialObject.GenerateElement(elementName, id, tags,
|
||||
isFirstGenerated, themeBundleName, objectName, parentElement).GetComponent<DTMNoteVisualHold>();
|
||||
|
||||
DTMNoteVisualHold noteVisualHold = NoteVisualBase.GenerateElement(elementName, id, tags,
|
||||
isFirstGenerated, themeBundleName, objectName, parentElement, isHighlighted).GetComponent<DTMNoteVisualHold>();
|
||||
|
||||
return noteVisualHold;
|
||||
}
|
||||
|
||||
@@ -76,7 +76,8 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
{
|
||||
public override void SaveBM()
|
||||
{
|
||||
matchedBM = new DTMNoteVisualHold_BM(elementName, elementGuid, tags, parentElement.matchedBM as GameElement_BM, themeBundleName, objectName);
|
||||
matchedBM = new DTMNoteVisualHold_BM(elementName, elementGuid, tags,
|
||||
themeBundleName, objectName,parentElement.matchedBM as GameElement_BM, isHighlighted);
|
||||
}
|
||||
|
||||
private float startPercent, endPercent;
|
||||
@@ -136,24 +137,24 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
|
||||
namespace Beatmap
|
||||
{
|
||||
public class DTMNoteVisualHold_BM : SubstantialObject_BM
|
||||
public class DTMNoteVisualHold_BM : DTMNoteVisual_BM
|
||||
{
|
||||
public DTMNoteVisualHold_BM()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public DTMNoteVisualHold_BM(string elementName, Guid id, List<string> tags,
|
||||
GameElement_BM parent, string themeBundleName, string objectName) :
|
||||
base(elementName, id, tags, parent, themeBundleName, objectName)
|
||||
public DTMNoteVisualHold_BM(string elementName, Guid id, List<string> tags,
|
||||
string themeBundleName, string objectName, GameElement_BM parent, bool isHighlighted) :
|
||||
base(elementName, id, tags, parent, themeBundleName, objectName, isHighlighted)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void ExecuteBM()
|
||||
{
|
||||
matchedElement = DTMNoteVisualHold.GenerateElement(elementName, elementGuid, tags, false,
|
||||
GetElement(attachedElementGuid), themeBundleName, objectName);
|
||||
themeBundleName, objectName, GetElement(attachedElementGuid), isHighlighted);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user