Debug Log removed

This commit is contained in:
s-prechtl 2022-06-03 15:05:33 +02:00
parent de6ac7384a
commit efc7a3deaf
2 changed files with 0 additions and 3 deletions

View file

@ -23,7 +23,6 @@ public class ItemContainer : MonoBehaviour {
void Start() { void Start() {
_allItems ??= new List<Item>(); _allItems ??= new List<Item>();
Debug.Log("Itemcontainer started");
string[] files = string[] files =
Directory.GetFiles("Assets\\Resources\\Items", "*.asset", SearchOption.AllDirectories); Directory.GetFiles("Assets\\Resources\\Items", "*.asset", SearchOption.AllDirectories);
foreach (string file in files) { foreach (string file in files) {

View file

@ -14,8 +14,6 @@ public class TileController : MonoBehaviour {
Vector3 screen = camera.ViewportToWorldPoint(new Vector3(1, 1, camera.nearClipPlane)); Vector3 screen = camera.ViewportToWorldPoint(new Vector3(1, 1, camera.nearClipPlane));
int x = Convert.ToInt32(Math.Ceiling(screen.x)); int x = Convert.ToInt32(Math.Ceiling(screen.x));
int y = Convert.ToInt32(Math.Ceiling(screen.y)); int y = Convert.ToInt32(Math.Ceiling(screen.y));
Debug.Log(screen);
for(int xx = -x; xx <= x; xx++) { for(int xx = -x; xx <= x; xx++) {
for(int yy = -y; yy <= y; yy++) { for(int yy = -y; yy <= y; yy++) {
if(tile != null) { if(tile != null) {