init
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using Sirenix.OdinInspector;
|
||||
using VOID.Generic.Objects.Abstract;
|
||||
using VOID.Generic.Objects.Unit;
|
||||
|
||||
namespace VOID.Generic.Projectile.HitValidator
|
||||
{
|
||||
[TypeRegistryItem("Self")]
|
||||
public class ProjectileHitSelf : IProjectileHitValidator
|
||||
{
|
||||
public bool IsValid(UnitObject caster, AbstractObject target)
|
||||
{
|
||||
return caster == target;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user