修复
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Ichni.RhythmGame.Beatmap;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap
|
||||
{
|
||||
[System.Serializable]
|
||||
public class DTMFramesFloor_BM : EnvironmentObject_BM
|
||||
{
|
||||
public float patternSizeX = 100.0f;
|
||||
public float patternSizeY = 100.0f;
|
||||
public float gridDensity = 1.0f;
|
||||
public float timeAngle = 0.1f;
|
||||
public float stepA = 0.25f;
|
||||
public float stepB = 0.24f;
|
||||
|
||||
public bool enableOuterBorder = true;
|
||||
public float outerBorderColorR = 1f;
|
||||
public float outerBorderColorG = 1f;
|
||||
public float outerBorderColorB = 1f;
|
||||
public float outerBorderColorA = 1f;
|
||||
public float outerBorderWidth = 0.02f;
|
||||
|
||||
public DTMFramesFloor_BM()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void ExecuteBM()
|
||||
{
|
||||
Color outerColor = new Color(outerBorderColorR, outerBorderColorG, outerBorderColorB, outerBorderColorA);
|
||||
|
||||
matchedElement = DTMFramesFloor.GenerateElement(elementName, elementGuid, tags, false,
|
||||
themeBundleName, objectName, GetElement(attachedElementGuid), isStatic,
|
||||
patternSizeX, patternSizeY, gridDensity,
|
||||
timeAngle, stepA, stepB,
|
||||
enableOuterBorder, outerColor, outerBorderWidth);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d6073730876ef064e86673c02d0c6e36
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Ichni.RhythmGame.Beatmap;
|
||||
|
||||
namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap
|
||||
{
|
||||
[System.Serializable]
|
||||
public class DTMGlobalFog_BM : EnvironmentObject_BM
|
||||
{
|
||||
public FlexibleFloat_BM fogColorStartR = new FlexibleFloat_BM();
|
||||
public FlexibleFloat_BM fogColorStartG = new FlexibleFloat_BM();
|
||||
public FlexibleFloat_BM fogColorStartB = new FlexibleFloat_BM();
|
||||
public FlexibleFloat_BM fogColorStartA = new FlexibleFloat_BM();
|
||||
|
||||
public FlexibleFloat_BM fogColorEndR = new FlexibleFloat_BM();
|
||||
public FlexibleFloat_BM fogColorEndG = new FlexibleFloat_BM();
|
||||
public FlexibleFloat_BM fogColorEndB = new FlexibleFloat_BM();
|
||||
public FlexibleFloat_BM fogColorEndA = new FlexibleFloat_BM();
|
||||
|
||||
public FlexibleFloat_BM fogColorDuo = new FlexibleFloat_BM();
|
||||
|
||||
public FlexibleFloat_BM skyboxFogIntensity = new FlexibleFloat_BM();
|
||||
public FlexibleFloat_BM skyboxFogHeight = new FlexibleFloat_BM();
|
||||
public FlexibleFloat_BM skyboxFogFalloff = new FlexibleFloat_BM();
|
||||
public FlexibleFloat_BM skyboxFogOffset = new FlexibleFloat_BM();
|
||||
|
||||
public DTMGlobalFog_BM()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void ExecuteBM()
|
||||
{
|
||||
matchedElement = DTMGlobalFog.GenerateElement(elementName, elementGuid, tags, false,
|
||||
themeBundleName, objectName, GetElement(attachedElementGuid), isStatic,
|
||||
fogColorStartR?.ConvertToGameType(), fogColorStartG?.ConvertToGameType(), fogColorStartB?.ConvertToGameType(), fogColorStartA?.ConvertToGameType(),
|
||||
fogColorEndR?.ConvertToGameType(), fogColorEndG?.ConvertToGameType(), fogColorEndB?.ConvertToGameType(), fogColorEndA?.ConvertToGameType(),
|
||||
fogColorDuo?.ConvertToGameType(),
|
||||
skyboxFogIntensity?.ConvertToGameType(), skyboxFogHeight?.ConvertToGameType(),
|
||||
skyboxFogFalloff?.ConvertToGameType(), skyboxFogOffset?.ConvertToGameType());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 68f4e10e5b6171549a44658b6b917a2a
|
||||
Reference in New Issue
Block a user