@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user