Arena version of Land_Of_Death (KF)

This commit is contained in:
F0rys47
2025-05-30 18:14:48 +02:00
parent 34fb804968
commit 342f85335a
7 changed files with 675153 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
using UnityEngine;
public class LeverInteraction : MonoBehaviour
{
public GateController gate;
private bool isActivated = false;
void OnMouseDown()
{
if (!isActivated)
{
isActivated = true;
gate.OpenGate();
AnimateLever();
}
}
void AnimateLever()
{
transform.Rotate(-45f, 0f, 0f);
}
}