|
@ -49,6 +49,9 @@ public class Player : MonoBehaviour |
|
|
|
|
|
|
|
|
public void UpdateDummies() |
|
|
public void UpdateDummies() |
|
|
{ |
|
|
{ |
|
|
|
|
|
if (dummies.Count < 4) |
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
dummies[0].transform.position = transform.position - (Vector3.right * (map.TileSize * map.MapDimensions.x * scale)); |
|
|
dummies[0].transform.position = transform.position - (Vector3.right * (map.TileSize * map.MapDimensions.x * scale)); |
|
|
dummies[1].transform.position = transform.position + (Vector3.right * (map.TileSize * map.MapDimensions.x * scale)); |
|
|
dummies[1].transform.position = transform.position + (Vector3.right * (map.TileSize * map.MapDimensions.x * scale)); |
|
|
dummies[2].transform.position = transform.position - (Vector3.forward * (map.TileSize * map.MapDimensions.y * scale)); |
|
|
dummies[2].transform.position = transform.position - (Vector3.forward * (map.TileSize * map.MapDimensions.y * scale)); |
|
|