This commit is contained in:
2025-05-13 05:05:49 +03:00
parent a68d9ccb42
commit 235216efe2
606 changed files with 684027 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
using UnityEngine;
using System.Collections;
public interface IDamageable{
void OnDamage ();
}
public class Enemy1 : MonoBehaviour, IDamageable {
public void OnDamage (){
Debug.Log ("Damage");
}
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}