Enemy Data Type Scriptable Object Skript erstellt. Erste Gedanken.

This commit is contained in:
Zinziel
2025-12-17 13:05:27 +01:00
parent dc2a3cfe40
commit a020e65010
2 changed files with 19 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