Add Unity materials and prefabs for game objects for SOLID
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using Solid.Abstracts;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Solid
|
||||
{
|
||||
public class CircleAreaOfEffect : AreaOfEffect
|
||||
{
|
||||
[SerializeField] private float _radius = 10.0f;
|
||||
|
||||
protected override bool IsInsideOfEffectArea(Collider other)
|
||||
{
|
||||
// do some calculation here
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user