This commit is contained in:
2026-02-16 15:33:03 +01:00
18 changed files with 451 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using UnityEngine;
[CreateAssetMenu(fileName = "New Enemy Data", menuName = "Enemy Data")]
public class EnemyType : ScriptableObject
{
public string enemyName;
public GameObject enemyPrefab;
public GameObject enemyJumpscarePrefab;
public int approachStepCounter;
public float delayBetweenStep;
public float stayTime;
public Vector3 firstRoomPosition;
public Vector3 secondRoomPosition;
public Vector3 thirdRoomPosition;
public Vector3 mainRoomLeftPostion;
public Vector3 mainRoomRightPosition;
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: da88df8e75e881e42856c4de256e7348

View File

@@ -0,0 +1,18 @@
using UnityEngine;
public class JumpTrigger : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
// Sobald der Step an der offenen Tür verbraucht wird, geht der GFegner auf "void OnTriggerEnter" und es wird ein Sound abgespielt, sowie das Bild.
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 23733660b5dbbb24eaf9fbb347762cb1