更新
This commit is contained in:
8
Assets/Scripts/DataCore/Animations.meta
Normal file
8
Assets/Scripts/DataCore/Animations.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0b92b5a6a95000b41a36b5884268ea6d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Scripts/DataCore/Animations/Custom.meta
Normal file
8
Assets/Scripts/DataCore/Animations/Custom.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a8e2a5d8683ebd04bae1c422391a8f03
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -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