与编辑器同步,增加sync优化bloom,添加打包时自动打包主题包的特性

(怎么这么多meta文件啊)

Signed-off-by: TRADER_FOER <lhf190@outlook.com>
This commit is contained in:
2026-07-23 14:52:15 +08:00
parent 02ee7fc72e
commit 9e5471b4c4
104 changed files with 670 additions and 2523 deletions

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
namespace Ichni.RhythmGame.Beatmap
{
public class PositionSync_BM : GameElement_BM
{
public FlexibleBool_BM enabling;
public Guid syncTargetObjectGuid;
public PositionSync_BM()
{
}
public PositionSync_BM(string elementName, Guid elementGuid, List<string> tags,
GameElement_BM attachedElement, FlexibleBool_BM enabling, Guid syncTargetObjectGuid)
: base(elementName, elementGuid, tags, attachedElement)
{
this.enabling = enabling;
this.syncTargetObjectGuid = syncTargetObjectGuid;
}
public override void ExecuteBM()
{
matchedElement = PositionSync.GenerateElement(elementName, elementGuid, tags, false,
GetElement(attachedElementGuid), GetElement(syncTargetObjectGuid),
enabling?.ConvertToGameType() ?? new FlexibleBool());
matchedElement.matchedBM = this;
}
public override void AfterExecute()
{
if (matchedElement is PositionSync positionSync)
{
positionSync.syncTargetObject = GetElement(syncTargetObjectGuid);
}
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 4b7660debb70462f8139aca3ccf9d839