佛山工厂量产随机快速复制

Signed-off-by: TRADER_FOER <lhf190@outlook.com>
This commit is contained in:
2026-07-29 20:14:03 +08:00
parent c828389d0d
commit d662f2fa95
209 changed files with 179128 additions and 3709417 deletions

View File

@@ -133,6 +133,11 @@ namespace Ichni.Editor
private void ApplyParameters()
{
if (connectedBaseElement == null || string.IsNullOrEmpty(parameterName))
{
return;
}
Vector3 newValue = new Vector3(float.Parse(inputFieldX.text), float.Parse(inputFieldY.text), float.Parse(inputFieldZ.text));
Ichni.Editor.Commands.CommandManager.ExecuteCommand(new Ichni.Editor.Commands.ChangeValueCommand(connectedBaseElement, parameterName, newValue));
}
@@ -143,4 +148,4 @@ namespace Ichni.Editor
return this;
}
}
}
}

View File

@@ -157,13 +157,17 @@ namespace Ichni.Editor
}
}
public void SelectGameElement()
{
if (Keyboard.current.leftCtrlKey.isPressed)
{
if (!isSelected)
{
EditorManager.instance.operationManager.AddSelectElement(connectedGameElement);
public void SelectGameElement()
{
if (Keyboard.current.shiftKey.isPressed)
{
EditorManager.instance.operationManager.AddSelectRangeToElement(connectedGameElement);
}
else if (Keyboard.current.leftCtrlKey.isPressed)
{
if (!isSelected)
{
EditorManager.instance.operationManager.AddSelectElement(connectedGameElement);
}
else
{