mirror of
https://github.com/ryzij/Cube-Tower-Defense.git
synced 2026-07-14 01:56:57 +00:00
Исправил баг
This commit is contained in:
@@ -91,11 +91,5 @@ public class SandPathBuildService : MonoBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Vector3> GetPath() =>
|
public IEnumerable<Vector3> GetPath() =>
|
||||||
_blocksInPath.Select(b =>
|
_blocksInPath.Select(b => b.transform.position + Vector3.up * 0.5f);
|
||||||
{
|
|
||||||
var pos = b.transform.position;
|
|
||||||
pos.y += 1f;
|
|
||||||
|
|
||||||
return pos;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user