奇怪的调
This commit is contained in:
@@ -162,24 +162,24 @@ namespace Ichni.RhythmGame
|
||||
|
||||
var flickButton = inspector.GenerateButton(this, noteSubcontainer, "Flick",
|
||||
() => { Flick.GenerateElement("New Flick", Guid.NewGuid(), new List<string>(), true, this, 0f, new List<Vector2>()); }); //Note Flick
|
||||
StandardInspectionElement.GenerateForTransform(this, generateContainer); //关于有Transform的元素
|
||||
// var animationSubcontainer = generateContainer.GenerateSubcontainer(3);
|
||||
// var displacementButton = inspector.GenerateButton(this, animationSubcontainer, "Displacement", () =>
|
||||
// {
|
||||
// Displacement.GenerateElement("New Displacement", Guid.NewGuid(), new List<string>(), true, this,
|
||||
// new FlexibleFloat(), new FlexibleFloat(), new FlexibleFloat());
|
||||
// }); //位移
|
||||
|
||||
var animationSubcontainer = generateContainer.GenerateSubcontainer(3);
|
||||
var displacementButton = inspector.GenerateButton(this, animationSubcontainer, "Displacement", () =>
|
||||
{
|
||||
Displacement.GenerateElement("New Displacement", Guid.NewGuid(), new List<string>(), true, this,
|
||||
new FlexibleFloat(), new FlexibleFloat(), new FlexibleFloat());
|
||||
}); //位移
|
||||
|
||||
var swirlButton = inspector.GenerateButton(this, animationSubcontainer, "Swirl", () =>
|
||||
{
|
||||
Swirl.GenerateElement("New Swirl", Guid.NewGuid(), new List<string>(), true, this,
|
||||
new FlexibleFloat(), new FlexibleFloat(), new FlexibleFloat());
|
||||
}); //旋转
|
||||
var scaleButton = inspector.GenerateButton(this, animationSubcontainer, "Scale", () =>
|
||||
{
|
||||
Scale.GenerateElement("New Scale", Guid.NewGuid(), new List<string>(), true, this,
|
||||
new FlexibleFloat(), new FlexibleFloat(), new FlexibleFloat());
|
||||
}); //缩放
|
||||
// var swirlButton = inspector.GenerateButton(this, animationSubcontainer, "Swirl", () =>
|
||||
// {
|
||||
// Swirl.GenerateElement("New Swirl", Guid.NewGuid(), new List<string>(), true, this,
|
||||
// new FlexibleFloat(), new FlexibleFloat(), new FlexibleFloat());
|
||||
// }); //旋转
|
||||
// var scaleButton = inspector.GenerateButton(this, animationSubcontainer, "Scale", () =>
|
||||
// {
|
||||
// Scale.GenerateElement("New Scale", Guid.NewGuid(), new List<string>(), true, this,
|
||||
// new FlexibleFloat(), new FlexibleFloat(), new FlexibleFloat());
|
||||
// }); //缩放
|
||||
if (trackPathSubmodule != null)
|
||||
{
|
||||
trackPathButton.button.interactable = false;
|
||||
|
||||
@@ -69,6 +69,7 @@ namespace Ichni.RhythmGame
|
||||
|
||||
IHaveInspection inspector = EditorManager.instance.uiManager.inspector;
|
||||
Inspector inspectorMain = EditorManager.instance.uiManager.inspector;
|
||||
StandardInspectionElement.GenerateForTransform(this); //关于有Transform的元素
|
||||
|
||||
var container = inspector.GenerateContainer("Trail");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user