Map generator durch bild ge fixt und playerController leicht überarbeitet
This commit is contained in:
@@ -31,13 +31,15 @@ public class Map_Generator : MonoBehaviour
|
||||
{
|
||||
GameObject block = Instantiate(blockPrefab);
|
||||
block.transform.position = new Vector3(k, 0, i);
|
||||
block.GetComponent<Renderer>().material.color = Random.ColorHSV();
|
||||
block.GetComponent<Renderer>().material.color = Color.black;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user