Added Shift to "build many" in build handler
This commit is contained in:
parent
b625d78ac2
commit
01962bbc04
|
@ -82,9 +82,14 @@ namespace AsteroidGame.Handlers
|
|||
{
|
||||
if (!isBuilding) return;
|
||||
if (_ghostStructure.BuildPlacementBlocked) return;
|
||||
DestroyGhostStructure();
|
||||
if (!Keyboard.current.shiftKey.isPressed)
|
||||
{
|
||||
DestroyGhostStructure();
|
||||
isBuilding = false;
|
||||
}
|
||||
|
||||
SpawnStructure();
|
||||
isBuilding = false;
|
||||
|
||||
}
|
||||
|
||||
public void AbortPlaceStructure()
|
||||
|
|
Loading…
Reference in New Issue