Changed to 3D graphics, Adapted House and Chest

This commit is contained in:
TAASONI3
2023-04-27 23:12:11 +02:00
parent c32e634c02
commit 6dc7063cec
124 changed files with 8553 additions and 5097 deletions

View File

@@ -65,15 +65,11 @@ public class Controls : MonoBehaviour
case "NPC":
target.GetComponent<NPC>().interact();
break;
case "House":
currentHouse = target;
target.GetComponent<House>().interact();
break;
case "Door":
currentHouse.GetComponent<House>().leaveHouse();
target.GetComponent<Door>().interact();
break;
case "Chest":
currentHouse.GetComponent<House>().getItem();
target.GetComponent<Chest>().interact();
break;
}
}