12 lines
200 B
C#
12 lines
200 B
C#
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace OTG.Lab06.Core
|
||
|
|
{
|
||
|
|
public interface IDamageable
|
||
|
|
{
|
||
|
|
Transform Transform { get; }
|
||
|
|
bool IsAlive { get; }
|
||
|
|
void TakeDamage(float amount);
|
||
|
|
}
|
||
|
|
}
|