MOD: Irgendwas von damals
This commit is contained in:
18
ProjektUnity/Assets/Scripts/Enemy/EnemyMovement.cs
Normal file
18
ProjektUnity/Assets/Scripts/Enemy/EnemyMovement.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class EnemyMovement : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
11
ProjektUnity/Assets/Scripts/Enemy/EnemyMovement.cs.meta
Normal file
11
ProjektUnity/Assets/Scripts/Enemy/EnemyMovement.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 58a007a46183a8947a29e53b7c347d41
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
23
ProjektUnity/Assets/Scripts/Enemy/EnemyStats.cs
Normal file
23
ProjektUnity/Assets/Scripts/Enemy/EnemyStats.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class EnemyStats : MonoBehaviour
|
||||
{
|
||||
public Enemy enemy;
|
||||
public float health = 0;
|
||||
public float speed = 0;
|
||||
|
||||
private void Start() {
|
||||
health = enemy.currentHealth;
|
||||
speed = enemy.currentSpeed;
|
||||
}
|
||||
|
||||
//Für Später
|
||||
/* private void OnCollisionEnter2D(Collision2D other) {
|
||||
if (other.gameObject.CompareTag("Sword") || other.gameObject.CompareTag("Bullet")){
|
||||
|
||||
}
|
||||
} */
|
||||
}
|
11
ProjektUnity/Assets/Scripts/Enemy/EnemyStats.cs.meta
Normal file
11
ProjektUnity/Assets/Scripts/Enemy/EnemyStats.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 60acc7aa2e862ff488845c60a00d73cc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user