MVP for Dump Puzzle

This commit is contained in:
2025-12-08 08:48:35 +01:00
parent c96be39e64
commit 7de0e1776e
93 changed files with 28292 additions and 82020 deletions

View File

@@ -0,0 +1,22 @@
using UnityEngine;
public class Teleporter : MonoBehaviour
{
public GameObject ObjectToTeleportA;
public GameObject ObjectToTeleportB;
public Transform TeleportLocationA;
public Transform TeleportLocationB;
public void TeleporObjects()
{
if (ObjectToTeleportA != null && TeleportLocationA != null)
{
ObjectToTeleportA.transform.position = TeleportLocationA.position;
}
if (ObjectToTeleportB != null && TeleportLocationB != null)
{
ObjectToTeleportB.transform.position = TeleportLocationB.position;
}
}
}