摸索DynamicExpresso
写了点东西 问题是如果你乱敲会爆各种奇怪的玩意 try catch找不过来的那种
This commit is contained in:
@@ -29,13 +29,15 @@ namespace Ichni
|
||||
|
||||
private void Start()
|
||||
{
|
||||
|
||||
|
||||
//currentJudgeType = NoteBase.NoteJudgeType.Perfect;
|
||||
|
||||
var f0 = ElementFolder.GenerateElement("Folder", Guid.NewGuid(), new List<string>(), null);
|
||||
// var dis0 = Displacement.GenerateElement("Displacement-0", f0,
|
||||
// new FlexibleFloat(),
|
||||
// new FlexibleFloat(new List<AnimatedFloat>(){new (0,2,0,2, AnimationCurveType.Linear)}),
|
||||
// new FlexibleFloat());
|
||||
var dis0 = Displacement.GenerateElement("Displacement-0",Guid.NewGuid(), new List<string>(),f0,
|
||||
new FlexibleFloat(),
|
||||
new FlexibleFloat(new List<AnimatedFloat>(){new (0,2,0,10, AnimationCurveType.Linear)}),
|
||||
new FlexibleFloat());
|
||||
var t0 = Track.GenerateElement("Track", Guid.NewGuid(), new List<string>(), f0, Vector3.left * 5f);
|
||||
t0.trackPathSubmodule = new TrackPathSubmodule(t0, Track.TrackSpaceType.Linear,
|
||||
Track.TrackSamplingType.TimeDistributed, false);
|
||||
@@ -53,7 +55,7 @@ namespace Ichni
|
||||
var n0 = Tap.GenerateElement("Note-0", Guid.NewGuid(), new List<string>(), 1f, t0);
|
||||
var n0v = BasicNoteVisual.GenerateElement("Note-0-V", Guid.NewGuid(), new List<string>(), "basic",
|
||||
"BasicNoteTap3D", Vector3.zero, Vector3.zero, Vector3.one, n0);
|
||||
|
||||
|
||||
elementList.ForEach(e =>
|
||||
{
|
||||
e.AfterInitialize();
|
||||
|
||||
Reference in New Issue
Block a user