Reworked tile generation, removed map, redone colour scheme, v1.2.0
This commit is contained in:
@@ -41,12 +41,7 @@ public class Controls : MonoBehaviour
|
||||
if (uihandler.canPlayerMove())
|
||||
{
|
||||
player.GetComponent<Player>().move();
|
||||
if (Input.GetKeyDown(KeyCode.M))
|
||||
{
|
||||
worldGen.GetComponent<WorldGenerator>().prepareMap();
|
||||
uihandler.switchMap();
|
||||
}
|
||||
else if (Input.GetKeyDown(KeyCode.E))
|
||||
if (Input.GetKeyDown(KeyCode.E))
|
||||
{
|
||||
GameObject target = playerCam.GetComponent<PlayerCamera>().interactWithObject();
|
||||
if (target != null)
|
||||
|
||||
Reference in New Issue
Block a user