更新
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Ichni.RhythmGame.Beatmap
|
||||
{
|
||||
[System.Serializable]
|
||||
public class PropertyAnimationColor_BM : AnimationBase_BM
|
||||
{
|
||||
public string componentName;
|
||||
public string propertyName;
|
||||
public FlexibleFloat_BM propertyValueR, propertyValueG, propertyValueB, propertyValueA;
|
||||
|
||||
public PropertyAnimationColor_BM()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void ExecuteBM()
|
||||
{
|
||||
matchedElement = PropertyAnimationColor.GenerateElement(elementName, elementGuid, tags, true,
|
||||
GetElement(attachedElementGuid), componentName, propertyName,
|
||||
propertyValueR?.ConvertToGameType(), propertyValueG?.ConvertToGameType(),
|
||||
propertyValueB?.ConvertToGameType(), propertyValueA?.ConvertToGameType());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a9cac7c753648324a87a52394d111a39
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Ichni.RhythmGame.Beatmap
|
||||
{
|
||||
[System.Serializable]
|
||||
public class PropertyAnimationFloat_BM : AnimationBase_BM
|
||||
{
|
||||
public string componentName;
|
||||
public string propertyName;
|
||||
public FlexibleFloat_BM propertyValue;
|
||||
|
||||
public PropertyAnimationFloat_BM()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void ExecuteBM()
|
||||
{
|
||||
matchedElement = PropertyAnimationFloat.GenerateElement(elementName, elementGuid, tags, true,
|
||||
GetElement(attachedElementGuid), componentName, propertyName, propertyValue?.ConvertToGameType());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3ed5d3d01d95927429a52f2f2c6b1b66
|
||||
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Ichni.RhythmGame.Beatmap
|
||||
{
|
||||
[System.Serializable]
|
||||
public class PropertyAnimationVector3_BM : AnimationBase_BM
|
||||
{
|
||||
public string componentName;
|
||||
public string propertyName;
|
||||
public FlexibleFloat_BM propertyValueX, propertyValueY, propertyValueZ;
|
||||
|
||||
public PropertyAnimationVector3_BM()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void ExecuteBM()
|
||||
{
|
||||
matchedElement = PropertyAnimationVector3.GenerateElement(elementName, elementGuid, tags, true,
|
||||
GetElement(attachedElementGuid), componentName, propertyName,
|
||||
propertyValueX?.ConvertToGameType(), propertyValueY?.ConvertToGameType(), propertyValueZ?.ConvertToGameType());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1f1e1e70ac758ce47af3a35a4c09e30b
|
||||
Reference in New Issue
Block a user