Debug Log removed
This commit is contained in:
parent
de6ac7384a
commit
efc7a3deaf
2 changed files with 0 additions and 3 deletions
|
|
@ -23,7 +23,6 @@ public class ItemContainer : MonoBehaviour {
|
|||
|
||||
void Start() {
|
||||
_allItems ??= new List<Item>();
|
||||
Debug.Log("Itemcontainer started");
|
||||
string[] files =
|
||||
Directory.GetFiles("Assets\\Resources\\Items", "*.asset", SearchOption.AllDirectories);
|
||||
foreach (string file in files) {
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@ public class TileController : MonoBehaviour {
|
|||
Vector3 screen = camera.ViewportToWorldPoint(new Vector3(1, 1, camera.nearClipPlane));
|
||||
int x = Convert.ToInt32(Math.Ceiling(screen.x));
|
||||
int y = Convert.ToInt32(Math.Ceiling(screen.y));
|
||||
|
||||
Debug.Log(screen);
|
||||
for(int xx = -x; xx <= x; xx++) {
|
||||
for(int yy = -y; yy <= y; yy++) {
|
||||
if(tile != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue